-
-
Save richarddunks/a2d482ff95adb698396621044d8bdce3 to your computer and use it in GitHub Desktop.
Example SSH config file for two Github hosts
This file contains hidden or 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