On 02/07/15 08:11, aishwarya.adyanth...@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@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

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to