vi ~/.ssh/config
# Host *.workdomain.com
# IdentityFile ~/.ssh/id_rsa.github
# User git
Host git.coding.net github.com 172.16.0.*
User username
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa.github
vi ~/.ssh/config
# Host *.workdomain.com
# IdentityFile ~/.ssh/id_rsa.github
# User git
Host git.coding.net github.com 172.16.0.*
User username
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa.github
本文标题:Git 服务配置不同的私钥
本文链接:https://www.haomeiwen.com/subject/lrudettx.html
网友评论