My Oracle Support Banner

How to Disable Weak Key Exchange Algorithms in OpenSSH (Doc ID 2661086.1)

Last updated on MARCH 10, 2025

Applies to:

Solaris Operating System - Version 11.4 and later
Information in this document applies to any platform.

Goal

The security scan shows a week Key Key Exchange Algorithm which needs to be removed from ssh configuration:

SSH Server Supports Weak Key Exchange Algorithms
CVSS Score: 4.30
Description:  The server supports one or more weak key exchange algorithms. It is highly adviseable to remove weak key exchange algorithm support from SSH configuration files on hosts to prevent them from being used to establish connections.

Port: 22
Service: SSH
Running SSH service
Insecure key exchange algorithms in use: diffie-hellman-group14-sha1
Vulnerability Solution
Disable weak Key Exchange Algorithms

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.