Skip to content

Instantly share code, notes, and snippets.

@harunyasar
Created January 30, 2018 13:59
Show Gist options
  • Save harunyasar/bb447a9470c9c9332312d645e0b576fe to your computer and use it in GitHub Desktop.
Save harunyasar/bb447a9470c9c9332312d645e0b576fe to your computer and use it in GitHub Desktop.
Multiple SSH keys
Host github.com
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_github
Host bitbucket.org
HostName bitbucket.org
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_bitbucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment