linux ssh 登录报错

葫芦的运维日志

下一篇 搜索 上一篇

2010/02/28 15:20


1.报错 no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

➜  ~ ssh test@99.99.99.99 -p 99
Unable to negotiate with 99.99.99.99 port 99: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

2.报错no matching host key type found. Their offer: ssh-dss

➜  ~ ssh test@99.99.99.99 -p 99 -oKexAlgorithms=+diffie-hellman-group1-sha1
Unable to negotiate with 99.99.99.99 port 99: no matching host key type found. Their offer: ssh-dss

最终解决:

ssh test@99.99.99.99 -p 99 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss -oCiphers=+aes256-cbc

葫芦的运维日志

上一篇 搜索 下一篇
© 冰糖葫芦甜(bthlt.com) 2019 王梓 赞助联系方式 陕ICP备17005322号