Last active
August 29, 2015 14:05
-
-
Save zanedeg/a4765f800c629feedf21 to your computer and use it in GitHub Desktop.
Generate and upload a new keypair to AWS
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment