#修复Diffie-Hellman Key Agreement Protocol 资源管理错误漏洞
#禁用diffie-hellman算法
1.echo "KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521" >> /etc/ssh/sshd_config
#重启sshd
2.systemctl restart sshd