【git基础问题】

 

问题

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

解决方法

cd .ssh
vim config

添加信息

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

 

 

参考

1. 【已解决】Unable to negotiate with XXX port : no matching host key type found. Their offer: ssh-rsa_大数据之眸

posted on 2023-05-23 18:30  鹅要长大  阅读(7)  评论(0编辑  收藏  举报

导航