原因:升级 OpenSSH 后迁出报错
$ git pull | |
Unable to negotiate with 47.98.49.44 port 22: no matching host key type found. Their offer: ssh-rsa | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. |
解决方案
$ cat ~/.ssh/config | |
Host * | |
HostkeyAlgorithms +ssh-rsa | |
PubkeyAcceptedKeyTypes +ssh-rsa |
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。