SSH Secure File Transfer Client连接远程设备报“algorithm negotiation failed”错的解决方法

SSH Secure File Transfer Client连接远程设备报“algorithm negotiation failed”错的解决方法


        ssh client 报 algorithm negotiation failed的解决方法之一是 修改sshd的配置文件,请参考以下三个步骤进行解决该问题。


第一步:进入配置文件

 /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,[email protected],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,[email protected]

第三步:重启sshd服务

service sshd restart


你可能感兴趣的:(uinx/linux,negotiation,failed,algorithm,negotiatio)