前言

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

 

解决步骤

.ssh目录下创建文件config

文件内容:

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

如图:

 

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

 

连接成功。

 

感谢

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

 

相关文章:

  • 2021-12-10
  • 2021-08-09
  • 2021-04-13
  • 2021-07-23
  • 2021-10-04
  • 2021-09-23
  • 2021-11-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-07
  • 2021-07-30
  • 2021-07-14
  • 2021-06-04
  • 2022-12-23
  • 2021-09-22
相关资源
相似解决方案