[Openstack-operators] Snapshots in dashboard.

Matthias Runge mrunge at redhat.com
Thu Jul 2 06:48:11 UTC 2015


On 02/07/15 08:11, aishwarya.adyanthaya at accenture.com wrote:
> I’m able to ssh with the key I have created and saved in one of the
> nodes by:
>
> # ssh –I key Ubuntu at floating_ip
>
> But I want to be able to use it from the putty directly. I don’t
> understand why it works for the cirros instance but not the instance
> that was launched by Ubuntu instance.
>

So, the way it works is:

create a ssh-key, if you haven't already done:

ssh-keygen -t rsa -b 4096

(generate rsa key with 4096 bits), your preferences may vary.
You'd be prompted where to store this, you get 2 pieces, a public and a 
private key. You'll need to add (copy&paste) the public key to
key pairs section in Access and security panel in the dashboard.

During bootup, this key will be injected in your instance.

When ssh'ing to the instance, make sure your ssh uses the corresponding 
private key and also uses the right user name (I have no idea, which one 
is that for ubuntu, that needs to be documented there).

usually, one would configure such things in .ssh/config

If you're using putty, there is an option to set the username and the 
private key to be used.

All dirty details here here[1].

Matthias



[1] http://docs.openstack.org/user-guide/dashboard_launch_instances.html



More information about the OpenStack-operators mailing list