Ask Your Question
0

Quickstart - Step 3: Create or import a key pair

asked 2014-11-30 12:30:16 -0500

Stuart gravatar image

updated 2014-11-30 12:31:34 -0500

I am following thorough the RDO quick start on top of CentOS 7 and I've now moved on to "Step 3: Create or import a key pair" which is linked at the bottom of the RDO quick start guide.

Sorry, I can't post the link as I need 10 points but it looks like this: https ://openstack . redhat .com/Quickstart

I am confused by step 3: I am not sure If I am required to: Create a Key pair - or - Import a Keypair

Could someone please give me an idea of what to do.

The full text of the instructions is this below:

Step 3: Create or import a key pair. "In the left-side navigation menu, click "Access & Security" under the heading "Compute." In the main portion of the screen, click the tab labeled "Keypairs," and choose either to "Create Keypair" or "Import Keypair." The "Create Keypair" dialog will prompt you to supply a keypair name before downloading a private key to your client.

The "Import Keypair" option will prompt you to provide a name and a public key to use with an existing private key on your client. For name, choose something to identify that key (like your username, for example) and for key, use the contents of your public key file, usually in ~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub on the machine from which you will be ssh-ing in."

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-11-30 14:00:41 -0500

dbaxps gravatar image

You can create ssh keypair via CLI ( for instance for demo account ) :-

    # source keystonerc_demo
    [root@juno1 ~(keystone_demo)]#  nova keypair-add oskey1 > oskey1.priv
    [root@juno1 ~(keystone_demo)]#  chmod 600 oskey1.priv

When launching new VM via dashboard ssh keypair will be available via drop-down menu instance launching dialog

edit flag offensive delete link more

Comments

Thank you dbaxps That is much less confusing. I understand what this step is now.

Stuart gravatar imageStuart ( 2014-12-01 06:41:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-30 12:30:16 -0500

Seen: 6,344 times

Last updated: Nov 30 '14