# 配置github.com
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_rsa_github
PreferredAuthentications publickey
User 289792436@qq.com
# 配置jd git
Host git.jd.com
HostName git.jd.com
IdentityFile ~/.ssh/id_rsa
PreferredAuthentications publickey
User cnooc_zhangjianbin
原文:https://www.cnblogs.com/zhangjianbin/p/9073619.html