根据不同的网站使用不同的ssh密钥¶
编辑ssh配置文件
vim ~/.ssh/config
添加以下内容
# config
# PubkeyAcceptedKeyTypes=+ssh-rsa
Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
Host github.com
HostName github.com
User git
IdentityFile /xxxxxxxx/id_rsa
IdentitiesOnly yes
Host gitee.com
HostName gitee.com
User git
IdentityFile /xxxxxxx/id_rsa
IdentitiesOnly yes