no matching host key type found. Their offer: ssh-rsa

Unable to negotiate with x.x.x.x port 2222: no matching host key type found. Their offer: ssh-rsa

修改ssh的配置文件~/.ssh/config添加,默认开启rsa

HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
posted @ 2024-06-07 17:32  feipeng8848  阅读(66)  评论(0编辑  收藏  举报