添加ssh后,ssh-rsa fatal: Could not read

设置 ~/.ssh/config 文件

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

 

腾讯工锋设置ssh后依旧不能git clone项目

 文件底部增加

# Added by git-extra
Host git.code.tencent.com
               HostKeyAlgorithms +ssh-rsa
               PubkeyAcceptedAlgorithms +ssh-rsa
                   

 

posted @ 2024-11-29 19:24  MvloveYouForever  阅读(1)  评论(0编辑  收藏  举报