Skip to content

Instantly share code, notes, and snippets.

@ankibalyan
Created February 23, 2018 08:34
Show Gist options
  • Save ankibalyan/204f583f96a739907d548ad559c8b995 to your computer and use it in GitHub Desktop.
Save ankibalyan/204f583f96a739907d548ad559c8b995 to your computer and use it in GitHub Desktop.
ssh-config
ServerAliveInterval 60
StrictHostKeyChecking no
Host awesome-dev
Hostname xx.xx.xxx.xx
User <username>
IdentityFile ~/.ssh/dev-serverkeyfile.pem
Host awesome-prod
Hostname xx.xx.xxx.xx
User <username>
IdentityFile ~/.ssh/prod-serverkeyfile.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment