Created
February 26, 2015 08:01
-
-
Save hangyan/ab6d4b6a31247f9ec995 to your computer and use it in GitHub Desktop.
git multi user ssh config file settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host work.github.com | |
HostName github.com | |
User WORK_GITHUB_USERNAME | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_work_rsa | |
IdentitiesOnly yes | |
Host personal.github.com | |
HostName github.com | |
User PERSONAL_GITHUB_USERNAME | |
PreferredAuthentications publickey | |
IdentityFile ~/.ssh/id_personal_rsa | |
IdentitiesOnly yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment