ssh-keygen -t rsa -C 'xxx@qq.com' -f ~/.ssh/github_id_rsa
Host gitlab.xxx.com
HostName gitlab.xxx.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/gitlab_id-rsa
AddKeysToAgent yes
User xxx@xxx.com
Host gitlab.xxx-inc.com
HostName gitlab.xxx-inc.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_alibaba
AddKeysToAgent yes
User xxx.xxx@xxx-inc.com
Host github.com
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/github_id-rsa
AddKeysToAgent yes
User xxx@qq.com