首页 > 服务器维护 > linux

SSH Secure Shell 出现"Algorithm negotiation failed" 的解决方法

发布时间:2019-6-3 09:56

问题:

在SSH Secure Shell上执行Connect to Remote Host时出现"Algorithm negotiation failed"警告


解决办法:

在/etc/ssh/sshd_config文件中追加

Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc


MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96


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,curve25519-sha256@libssh.org



原因:

SSH升级后,为了安全,默认不再采用原来的一些加密算法,需要手动添加。

标签:[!--infotagslink--]

您可能感兴趣的文章: