windows10使用多套public key pair进行SSH连接github的配置文件
作者:互联网
在.ssh文件夹下创建一个config文件,内容:
配置github.com
Host github.com
HostName github.com
IdentityFile C:\Users\i042416\.ssh\id_rsa
PreferredAuthentications publickey
User i042416
配置公司github
Host github.diablo.corp
HostName github.diablo.corp
IdentityFile C:\Users\i042416\.ssh\id_sap_rsa
PreferredAuthentications publickey
User i042416
标签:IdentityFile,github,配置文件,i042416,windows10,ssh,com,id 来源: https://blog.csdn.net/i042416/article/details/91351376