Skip to content

Instantly share code, notes, and snippets.

@rishav
Created December 14, 2012 10:39
Show Gist options
  • Save rishav/4284455 to your computer and use it in GitHub Desktop.
Save rishav/4284455 to your computer and use it in GitHub Desktop.
Example of SSH config, setting up hostname shortcuts
Host production
Hostname production.example.com
User ubuntu
IdentityFile ~/secretlocation/example.pem
Host staging
Hostname staging.example
User deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment