ssh client 报 algorithm negotiation failed的解决方法
2016-07-04 00:00
501 查看
摘要: 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升级后,为了安全,默认不再采用原来一些加密算法,我们手工添加进去即可。
修改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升级后,为了安全,默认不再采用原来一些加密算法,我们手工添加进去即可。
相关文章推荐
- Memory Analyzer tool(MAT)分析内存泄漏
- postfix mail.cf文件中的部分配置详解
- POJ3714 Raid
- HDU 1022 Train Problem I(栈)
- http://jingyan.baidu.com/article/bad08e1ee14ae409c85121cf.html
- 人工智能或许把人类引入灾难的深渊?
- poj3714 Raid
- Poj 1273 Drainage Ditches【最大流入门题----Ford-Fulkerson】
- POJ1995 Raising Modulo Numbers
- hdu 1039 Easier Done Than Said?
- Paint的效果研究
- web.xml中<security-constraint>和四种认证类型
- 博弈论基础知识: 巴什博奕+威佐夫博奕+尼姆博弈(及Staircase)
- RAID各级别及其特性
- Design Pattern - Behavioral Patterns - Chain of Responsibility Pattern
- LightOJ 1090 Trailing Zeroes (II) [分解]【数论】
- 使用mailto连接email邮件
- poj 1995 Raising Modulo Numbers 题解
- poj1995 Raising Modulo Numbers
- POJ 3714 Raid