1、操作系统:macOS Sierra
2、打开终端进行ssh连接的时候报如题所示错误信息
1 2 | SianMac:~ Sian$ ssh [email protected] Unable to negotiate with 192.168.128.252 port 22: no matching host key type found. Their offer: ssh-dss |
3、解决方案:在ssh后面加参数-o HostKeyAlgorithms=+ssh-dss
1 2 | SianMac:~ Sian$ ssh -o HostKeyAlgorithms=+ssh-dss [email protected] [email protected]'s password: |