1.打开.ssh文件夹
2.新建一个config文件,不带后缀名
3.加入如下内容
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
Unable to negotiate with xxxxx port 22: no matching host key type found. Their offer: ssh-rsa报错的解决方法
最新推荐文章于 2024-04-06 14:33:32 发布
1.打开.ssh文件夹
2.新建一个config文件,不带后缀名
3.加入如下内容
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa