Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

docs(ec2): add CLI key import, explicit chdir #865

Merged
merged 3 commits into from
May 1, 2014
Merged

Conversation

gabrtv
Copy link
Member

@gabrtv gabrtv commented May 1, 2014

No description provided.

@@ -22,6 +22,7 @@ Default output format [None]:
Generate and upload a new keypair to AWS, ensuring that the name of the keypair is set to "deis".
```console
$ ssh-keygen -q -t rsa -f ~/.ssh/deis -N '' -C deis
$ aws ec2 import-key-pair --key-name deis --public-key-material file://~/.ssh/id_rsa.pub
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the previous line, we're creating the file as ~/.ssh/deis

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, that explains a lot actually. ;)

@bacongobbler
Copy link
Member

👍

@@ -22,6 +22,7 @@ Default output format [None]:
Generate and upload a new keypair to AWS, ensuring that the name of the keypair is set to "deis".
```console
$ ssh-keygen -q -t rsa -f ~/.ssh/deis -N '' -C deis
$ aws ec2 import-key-pair --key-name deis --public-key-material file://~/.ssh/deis
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~/.ssh/deis.pub

@mboersma
Copy link
Member

mboersma commented May 1, 2014

LGTM. I like leaving the DiscoveryURL in cloudformation.json as an example.

gabrtv pushed a commit that referenced this pull request May 1, 2014
docs(ec2): add CLI key import, explicit chdir
@gabrtv gabrtv merged commit 54403a5 into master May 1, 2014
@gabrtv gabrtv deleted the fix-ec2-readme branch May 1, 2014 19:19
carmstrong added a commit that referenced this pull request May 1, 2014
There was a mistake in #865 - we want to add the pubkey for
~/.ssh/deis
carmstrong added a commit that referenced this pull request May 1, 2014
fix(contrib/ec2): fix README from #865
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants