(转) ssh 登录旧设备的问题解决

ssh登录一些老旧设备,出现以下问题:

问题:Unable to negotiate with 192.168.xx.xx port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

解决:-oKexAlgorithms=+diffie-hellman-group1-sha1

问题:Unable to negotiate with 192.168.xx.xx port 22: no matching host key type found. Their offer: ssh-dss

解决:-oHostKeyAlgorithms=+ssh-dss

问题:Unable to negotiate with 192.168.xx.xx port 22: no matching cipher found. Their offer: 3des-cbc

解决:-oCiphers=+3des-cbc

 

最后命令是这样的:

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss -oCiphers=+3des-cbc user@192.168.xx.xx

 

转自:https://zhuanlan.zhihu.com/p/30840210

posted @   Cong0ks  阅读(182)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
历史上的今天:
2019-07-11 English trip V2-B 3 Souvenirs 纪念品 Teacher:GABRIELE
2018-07-11 English trip -- VC(情景课)1 C What's your name?(review)
点击右上角即可分享
微信分享提示