Skip to content

Instantly share code, notes, and snippets.

@pwelch
Forked from moutten/import.zsh
Created December 12, 2012 00:06
Show Gist options
  • Save pwelch/4263601 to your computer and use it in GitHub Desktop.
Save pwelch/4263601 to your computer and use it in GitHub Desktop.
# This requires you install the command line tools from Amazon, and setup your Amazon credentials appropriately.
# - http://aws.amazon.com/developertools/351/
for region (us-east-1 us-west-1 us-west-2) ec2-import-keypair $USER -f ~/.ssh/id_rsa.pub --region $region
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment