Unable to negotiate with 106.52.160.162 port 22

git上传代码遇到错误:

Unable to negotiate with 106.52.160.162 port 22: no matching host key type found. Their offer: ssh-rsa fatal: Could not read from remote repository.

解决方法:

.ssh目录添加config文件,复制粘贴如下即可

Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

版权声明:
作者:bin
链接:https://ay123.net/notebook/experience/1370/
来源:爱影博客
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
Unable to negotiate with 106.52.160.162 port 22
git上传代码遇到错误: Unable to negotiate with 106.52.160.162 port 22: no matching host key type found. Their offer: ssh-rsa fatal: Could not read f……
<<上一篇
下一篇>>
文章目录
关闭
目 录