Nessus扫描后,如下问题
SSH Weak Key Exchange Algorithms Enabled 和 SSH Server CBC Mode Ciphers Enabled
解决方法如下:
修改/etc/ssh/sshd_config文件,在文件尾增加如下内容
vim /etc/ssh/sshd_config
Ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1