Bug 1014849
| Summary: | How to create a keypair is missing in Chapter 7 | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Summer Long <slong> |
| Component: | doc-Getting_Started_Guide | Assignee: | Bruce Reeler <breeler> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ecs-bugs |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.0 | CC: | alyoung, breeler, hateya, rlandman, yeylon |
| Target Milestone: | --- | Keywords: | Documentation |
| Target Release: | 4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-06 03:42:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1011085 | ||
|
Description
Summer Long
2013-10-02 22:51:52 UTC
Bruce, here's the info from the old Compute Admin guide upstream: Adding a keypair The Compute service can inject an SSH public key into an account on the instance, assuming the virtual machine image being used supports this. To add a keypair to the Compute service, use the nova keypair-add command. This command can be used to either generate a new keypair, or to upload an existing public key. The following example uploads an existing public key, located at ~/.ssh/id_rsa.pub, and gives the keypair the name mykey. $ nova keypair-add --pub_key ~/.ssh/id_rsa.pub mykey List the keypairs by doing: $ nova keypair-list +-------+-------------------------------------------------+ | Name | Fingerprint | | mykey | c3:d2:b5:d3:ec:4a:29:b0:22:32:6e:34:dd:91:f9:cf | +-------+-------------------------------------------------+ Confirm that the uploaded keypair matches your local key by checking your key's fingerprint with the ssh-keygen command: $ ssh-keygen -l -f ~/.ssh/id_rsa.pub 2048 c3:d2:b5:d3:ec:4a:29:b0:22:32:6e:34:dd:91:f9:cf /home/myaccount/.ssh/id_rsa.pub (RSA) Added commands on how to add a keypair to Nova using the CLI. Added section "8.2 Adding or creating a keypair" in command line interface chapter. |