Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tbusser
Created February 8, 2019 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbusser/afbf9edc4af9187230e2cc9895bab9d2 to your computer and use it in GitHub Desktop.
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
# 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