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.

Revisions

  1. harmon revised this gist May 1, 2014. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions bashrc
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,7 @@
    # 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
  2. harmon created this gist May 1, 2014.
    5 changes: 5 additions & 0 deletions bashrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # EC2 Helper
    #============
    ec2 () {
    ssh -i ~/.ssh/<path_to_your_key_here> ec2-user@$1
    }