Created
January 12, 2013 22:01
-
-
Save rafaelsales/4520664 to your computer and use it in GitHub Desktop.
Easier SSH-ing to Amazon EC2 instances. With this example, you can just do $ ssh my-webserver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host my-webserver | |
HostName ec2-##-###-##-##.location-east-1.compute.amazonaws.com | |
User ec2-user | |
IdentityFile /path_to/private_key.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment