Unable to negotiate with IP port 22: no matching ho
(2017-01-18 14:42:24)Unable to negotiate with IP port 22: no matching host key type
found. Their offer: ssh-dss
可以用ssh -V查看一下客户端和服务端的ssh版本号,ssh7.0后默认禁用了ssh-dss秘钥算法,
如果是服务器端版本低,可以把客户端连接命令改为:
ssh -oHostKeyAlgorithms=+ssh-dss user@ip

加载中…