Skip to content

Instantly share code, notes, and snippets.

@harmon
Last active August 29, 2015 14:00
Show Gist options
  • Save harmon/a59936d4c8db1a402bd8 to your computer and use it in GitHub Desktop.
Save harmon/a59936d4c8db1a402bd8 to your computer and use it in GitHub Desktop.
AWS Helpers
# EC2 Helper
# Usage:
# $ ec2 ec2-254-254-254-254.compute-1.amazonaws.com
#
#============
ec2 () {
ssh -i ~/.ssh/<path_to_your_key_here> ec2-user@$1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment