On Thu, 21 Jun 2012, udit agarwal wrote: > Hi Mandar, > Thanks for your reply. But I am still stuck in the problem. I tried with > cirros but with no luck. And for the next one, the system still asks me for > password, but it was supposed to be password-less. Can anybody help me with > this??
As Alexey pointed out, the password for cirros is "cubswin:)". The *user* is 'cirros'. So, to login with password auth: ssh cirros@<ip-address-here> password-less ssh *should* work and should *not* depend on filesystem injection by nova. cirros will read the public keys specified from the metadata service and import them into the cirros user's account. You have to specify a key when you launch the instance either by: * nova boot --key_name KEYNAME or * euca-run-instances --key KEYNAME To debug why passwordless ssh is not working: * get the console output of the instance. It likely is complaining that it cannot find the metadata service. * ssh in with password auth and run 'ec2metadata --public-keys'. This will probably fail. Basically, I suspect that your metadata service is not available to the instance. Scott > > Thanks in advance. > > --Udit > > On Thu, Jun 21, 2012 at 6:53 PM, Vaze, Mandar <[email protected]>wrote: > > > Default password for cirros is "cubswin:)" - including the smiley > > I hope you entered correct password (It is easy to ignore the last two > > characters thinking it is a smiley) > > > > Other options is to use password less ssh login using keypair. > > See > > http://docs.openstack.org/essex/openstack-compute/starter/content/Launch_and_manage_instances-d1e1885.html > > > > -Mandar > > > > From: [email protected][mailto: > > [email protected]] On Behalf > > Of udit agarwal > > Sent: Thursday, June 21, 2012 11:13 AM > > To: [email protected] > > Subject: [Openstack] ssh not authenticating > > > > Hi, > > I have setup openstack on my system using the manual > > http://docs.openstack.org/essex/openstack-compute/install/apt/content/. I > > tried to run the test image "cirros" on my system. While I can easily ping > > it, I faced some problems in authenticating via ssh. First, it asks for > > password, even providing the correct password for the same, it re asked the > > password 2 more times and finally denied me the permission. I couldn't > > resolve this issue then. > > > > Can anybody help me with this??? > > thanks in advance. > > > > --Udit > > > > ______________________________________________________________________ > > Disclaimer:This email and any attachments are sent in strictest confidence > > for the sole use of the addressee and may contain legally privileged, > > confidential, and proprietary data. If you are not the intended recipient, > > please advise the sender by replying promptly to this email and then delete > > and destroy this email and any attachments without any further use, copying > > or forwarding > > > _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

