Skip to content

Instantly share code, notes, and snippets.

@krzysu
Created January 12, 2018 10:58
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 krzysu/877ca7bc4ab5f3f21ae550cc6fc1089f to your computer and use it in GitHub Desktop.
Save krzysu/877ca7bc4ab5f3f21ae550cc6fc1089f to your computer and use it in GitHub Desktop.
ssh config
# path ~/.ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
Host prd
Hostname prd.long.name.hostname.com
ForwardAgent yes
IdentityFile ~/.ssh/id_rsa_encrypted
Host github.com
IdentityFile ~/.ssh/id_rsa_github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment