ssh client 报 algorithm negotiation failed的解决方法之一
2017-04-01 09:48
483 查看
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,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
重启sshd服务后,即可正常连接。
导致此问题的原因是ssh升级后,为了安全,默认不再采用原来一些加密算法,我们手工添加进去即可。
转载自:http://blog.sina.com.cn/s/blog_4b2a0e220102vmpy.html
修改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,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
重启sshd服务后,即可正常连接。
导致此问题的原因是ssh升级后,为了安全,默认不再采用原来一些加密算法,我们手工添加进去即可。
转载自:http://blog.sina.com.cn/s/blog_4b2a0e220102vmpy.html
相关文章推荐
- ssh client 报 algorithm negotiation failed的解决方法
- ssh client 报 algorithm negotiation failed的解决方法之一
- SSH Secure File Transfer Client连接远程设备报“algorithm negotiation failed”错的解决方法
- [异常解决] windows用SSH和linux同步文件&linux开启SSH&ssh client 报 algorithm negotiation failed的解决方法之一
- ssh client 报 algorithm negotiation failed的解决方法
- SSH Secure File Transfer Client连接远程设备报“algorithm negotiation failed”错的解决方法
- ssh client 报 algorithm negotiation failed的解决方法之一
- ssh client 报 algorithm negotiation failed的解决方法
- algorithm negotiation failed的解决方法
- windows用SSH和linux同步文件&linux开启SSH&ssh client 报 algorithm negotiation failed的解决方法之一
- ssh secure shell连接linux报 algorithm negotiation failed的解决方法
- Server responded "Algorithm negotiation failed"【SSH Secure链接服务器错误】解决办法
- SVN错误:SSL negotiation failed: SSL error: parse tlsext 解决方法
- Server responded "Algorithm negotiation failed",如何解决
- Ubuntu 16.04 ssh 登陆出现错误Algorithm Negotiation failed when trying to connect to server 解决
- "Failed to access IIS metabase"解决方法
- 解决FA运行折旧程序时出现:Cause: fadgbi failed....错误的方法
- [RIA Service] submit operation failed 解决方法
- qt-x11-opensource-src-4.5.3 安装 出现Basic XLib functionality test failed!解决方法
- Starting MySQL.Manager of pid-file quit without updating file.[FAILED]的解决方法