Unable to negotiate with 10.8.50.37 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
高版本ssh默认不启用过时的加密算法
可以
ssh -oHostKeyAlgorithms=+ssh-rsa 来启用
也可用
-oPubkeyAcceptedKeyTypes=+ssh-rsa
持久化配置
用户文件夹./ssh/config
Host *
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
参考
https://serverfault.com/questions/1092998/ssh-no-matching-host-key-type-found