Skip to content

Instantly share code, notes, and snippets.

@sthorne
Created February 19, 2017 19:36
Show Gist options
  • Save sthorne/c79bc0f252b73803faf370e7517aece9 to your computer and use it in GitHub Desktop.
Save sthorne/c79bc0f252b73803faf370e7517aece9 to your computer and use it in GitHub Desktop.
ssh client config to selectively use ssh keys
Host hostname.example.com
IdentityFile ~/.ssh/id_rsa
Host *
IdentityFile ~/.ssh/id_dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment