时间:2021-07-01 10:21:17 帮助过:46人阅读
Algorithm negotiation fail
编辑 /etc/ssh/sshd_config 文件
vim /etc/ssh/sshd_config
在文件末尾加入如下配置(首先确认配置文件不存在该配置项)
KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
重启 sshd
serivce sshd restart