Skip to content

Instantly share code, notes, and snippets.

@mgreenly
Created December 17, 2011 17:26
Show Gist options
  • Save mgreenly/1490808 to your computer and use it in GitHub Desktop.
Save mgreenly/1490808 to your computer and use it in GitHub Desktop.
$HOME/.ssh/config
# $HOME/.ssh/config
Host *compute-1.amazonaws.com
User ubuntu
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
IdentityFile ~/.ssh/your-ec2-key
ServerAliveInterval 30
ServerAliveCountMax 120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment