Created
January 8, 2018 02:50
-
-
Save datapolitan/2c7d4fdb5144e12c384f0042df9797ab to your computer and use it in GitHub Desktop.
Example SSH config file for two Github hosts
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
#user1 account | |
Host github.com-user1 | |
HostName github.com | |
User git | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa | |
#user2 account | |
Host github.com-user2 | |
HostName github.com | |
User git | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment