Created
February 8, 2019 15:10
-
-
Save tbusser/afbf9edc4af9187230e2cc9895bab9d2 to your computer and use it in GitHub Desktop.
SSH config for using multiple SSH keys and to prevent OSX from asking for the keyphrase every time
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
# Default GitHub user | |
Host github.com | |
HostName github.com | |
User git | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa_github | |
IdentitiesOnly yes | |
Host github.com-rhm | |
HostName github.com | |
User git | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa_github_rhm | |
IdentitiesOnly yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment