Ask Your Question

How to determine SSH credentials for a new ISO image?

asked 2015-01-21 15:25:26 -0600

smeeb gravatar image

I am brand new to OpenStack and just installed DevStack on an Ubuntu VM to take it out for a test spin.

I am (ultimately) looking to have OpenStack drive a CoreOS-based cloud for us, internally (we use Docker/containers). So I installed DevStack and ran it (without any errors/problems, woo hoo!) and then logged into Horizon.

I then uploaded a CoreOS ISO as a new Image. I then created a new Instance from this CoreOS ISO. Great success!

I see my instance has an IP of I would now like to SSH into it to check it out. So I read (the article on SSHing into instance) and I have a few questions:

  • Where do I get this "keypair" file, and what is it? How does it relate to SSH keys?
  • What will my SSH username/password be?
edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2015-01-22 00:32:43 -0600

updated 2015-01-25 05:35:29 -0600

Secure Shell (SSH) is a UNIX-based command interface and protocol for securely getting access to a remote computer. One way of securing SSH access to your Server is to use a public/private key pair. This means that a public key is placed on the server and a private key is placed on your local workstation. Using a key pair makes it impossible for someone to log in by using just a password, as long as you set up SSH to deny password-based authentication. Before launching an instance, you must generate a public/private key pair and add the public key to your OpenStack environment.

  1. Before creating any instances, we have to set up some security options. Go the ‘Project’ tab in the dashboard and click on the ‘Access & Security’
  2. You can either edit the existing “default” security group or add a new security group. Then click on “Edit Rules” on the relevant group and first add a rule to enable incoming SSH connections on port 22.
  3. Then add another rule to enable incoming ping request. Set -1 for ICMP type and code
  4. Then we have to generate a key pair which will be used to authenticate users into the VMs. Click on the “Keypairs” tab on “Access & Security” page and click on “Create Keypair”.
  5. Then provide a name for the keypair and click on “Create Keypair”. Download and save the key file.
  6. Now we can create an instance using the security group and the key pair we created. Click on “Instances” link under “Project” tab and click on “Launch Instance”.
  7. Under “Access & Security” tab we can select the key pair and the security group we created above.
edit flag offensive delete link more


Thank you @Yashpal Beoppurana (+1)! I assume that there's no way to "fix" the instance I already created then?

smeeb gravatar imagesmeeb ( 2015-01-22 02:57:03 -0600 )edit

answered 2015-01-21 21:34:53 -0600

ggont gravatar image

Can you ping this IP? Have you configured a floating IP? I am in the same boat as you but installed RHEL 7.0 using packstack. They have different documentation.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-21 15:25:26 -0600

Seen: 370 times

Last updated: Jan 25 '15