todo

ssh no matching host key type found

up:2025-01-05 19:12:26 edit:2025-01-10 09:16:29 view:348

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


not in sinaapp