# Default GitHub
Host github.com
HostName github.com
User git
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
# Work GitHub
Host work.github.com
HostName github.com
User git
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_work
Last active
July 20, 2017 17:11
-
-
Save kelsS/477fd7638ba1bf522cb4528ab4db87eb to your computer and use it in GitHub Desktop.
Example ssh config file for multiple SSH keys.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment