当前位置: 首页 > 工具软件 > portkey > 使用案例 >

【已解决】Unable to negotiate with — port 22: no matching host key type found. Their offer: ssh

蓟浩旷
2023-12-01

标题

mac系统,想通过ssh连接,但出现以下报错:Unable to negotiate with 10.188.5.86 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

解决办法:参考如下方式进行连接 ssh -oHostKeyAlgorithms=+ssh-dss Administrator@10.254.0.56

即在ssh后加入-oHostKeyAlgorithms=+ssh-dss

参考链接:https://ngelinux.com/solved-error-unable-to-negotiate-with-port-22-no-matching-host-key-type-found-their-offer-ssh-dss/

 类似资料: