1、操作系统:macOS Sierra
2、打开终端进行ssh连接的时候报如题所示错误信息
1
2
| SianMac:~ Sian$ ssh root@192.168.128.252
Unable to negotiate with 192.168.128.252 port 22: no matching[......]<p class="read-more"><a href="https://www.yusian.com/blog/extend/2016/11/18/205716828.html">继续阅读</a></p> |
SianMac:~ Sian$ ssh root@192.168.128.252
Unable to negotiate with 192.168.128.252 port 22: no matching[......]<p class="read-more"><a href="https://www.yusian.com/blog/extend/2016/11/18/205716828.html">继续阅读</a></p>
3、解决方案:在ssh后面加参数-o HostKeyAlgorithms=+ssh-dss
1
| SianMac:~ Sian$ ssh -o HostKeyAlgorithms=+ssh-dss root@192.168[......]<p class="read-more"><a href="https://www.yusian.com/blog/macos/2016/11/18/205716828.html">继续阅读</a></p> |
SianMac:~ Sian$ ssh -o HostKeyAlgorithms=+ssh-dss root@192.168[......]<p class="read-more"><a href="https://www.yusian.com/blog/macos/2016/11/18/205716828.html">继续阅读</a></p>