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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM