Key exchange was not finished,connection is closed近期遇到这个错误sshd更新导致的

Key exchange was not finished,connection is closed

cannot negotiate,proposals do not match.

 

近期遇到这个错误sshd更新导致的问题,

有说jekins的某某,

Key exchange was not finished,connection is closed近期遇到这个错误sshd更新导致的

说虚拟机设置Host Key Verification Strategy选项改选为Non verifying Vervification Strategy就可以解决这个问题了!

有说github的如下图:

Key exchange was not finished,connection is closed近期遇到这个错误sshd更新导致的

我的是SSH漏洞更新导致的

 

在/etc/ssh/sshd_config最后添加如下行内容解决问题

KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,[email protected]

 

上边是一行