git 升级到 2.33版本后,连接远程仓库失败

前言

重装git最新版本后,idea连接远程仓库失败。

 

解决步骤

.ssh目录下创建文件config

文件内容:

Host *
     ServerAliveInterval 10
     HostKeyAlgorithms +ssh-rsa
     PubkeyAcceptedKeyTypes +ssh-rsa

如图:

 

 

连接成功。

 

感谢

Solution to openssh-8.8-p1 update: no matching host key type found. Their offer: ssh-rsa :: /dev/ttyS3 — 回首向来萧瑟处 也无荒野也无灯

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章