This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 797
docs(ec2): add CLI key import, explicit chdir #865
Merged
Merged
Conversation
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
@@ -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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. ;)
👍 |
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~/.ssh/deis.pub
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.