Skip to content

Instantly share code, notes, and snippets.

@zanedeg
Last active August 29, 2015 14:05

Revisions

  1. zanedeg renamed this gist Mar 2, 2015. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. zanedeg created this gist Aug 20, 2014.
    4 changes: 4 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    ssh-keygen -q -t rsa -f ~/.ssh/[keyname -N '' -C [keyname]
    aws ec2 import-key-pair --key-name [keyname] --public-key-material file://~/.ssh/[keyname].pub

    # Stolen from https://github.com/deis/deis/tree/master/contrib/ec2