Unable to negotiate with XXXX : no matching host key type found.

💡 原文中文,约600字,阅读约需2分钟。
📝

内容提要

当使用ssh root@XXXXX时,报错"Unable to negotiate with 192.168.1.1 port 22: no matching host key type found." 可以在命令行后面添加ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss -oCiphers=+3des-cbc root@xxxxxx。

🎯

关键要点

  • 使用ssh root@XXXXX时出现错误:Unable to negotiate with 192.168.1.1 port 22: no matching host key type found。
  • 可以通过在命令行后添加特定选项来解决该错误。
  • 添加的选项包括:-oKexAlgorithms=+diffie-hellman-group1-sha1,-oHostKeyAlgorithms=+ssh-dss,-oCiphers=+3des-cbc。
➡️

继续阅读