Information
To set strong Key Exchange algorithm
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
1-Log in to tmsh by typing the following command:tmsh 2-To modify the sshd configuration, type the following command to start the vi editor:edit /sys sshd all-properties3-Set a Key-Exchange algorthem with key of size 256 or longer example diffie-hellman-group14-sha256)4-To change the list of ciphers, you can navigate to the line that starts with the include statement, and use the keyword KexAlgorithms ,and adding the list of desired KexAlgorithms to the 2-line include statement:include "Ciphers aes128-cbc,aes128-ctr,aes192-ctr,aes256-ctr,arcfour128,arcfour256,arcfourMACs hmac-sha2-256KexAlgorithms diffie-hellman-group14-sha256
Impact:
Weak Key Exchange algorithms make it possible for attackers to bypass authentication , steal keys and reduce the integrity capability that SSH provides for remote connections .