EC2 friendly SSH config
Host *compute.amazonaws.com
User ubuntu
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
IdentityFile ~/.ssh/your-ec2-key
ServerAliveInterval 30
ServerAliveCountMax 120
Then connect with:
$ ssh ec2-xxx.compute.amazonaws.com
Source: http://blog.michaelgreenly.com/2011/12/ec2-friendly-ssh-config.html
Written by Thomaz Leite
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ssh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#