[Openstack] Error in ssh key pair log in

Patil, Tushar Tushar.Patil at nttdata.com
Thu Oct 23 21:46:35 UTC 2014

Hi Khayam,

Read below warning message carefully.

Open /home/openstack/.ssh/known_hosts file from where you are trying to connect to the VM, delete line #1 and try it again.


From: Khayam Gondal <khayam.gondal at gmail.com<mailto:khayam.gondal at gmail.com>>
Date: Thursday, October 23, 2014 at 2:32 AM
To: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>, "openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>" <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: [Openstack] Error in ssh key pair log in

I am trying to login into VM from host using ssh key pair instead of password. I have created VM using keypair khayamkey and than tried to login into vm using following command

ssh -l tux -i khayamkey.pem

where tux is username for VM, but I got following error

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you right now (man-in-the-middle attack)!It is also possible that a host key has just been changed.The fingerprint for the RSA key sent by the remote host is52:5c:47:33:dd:d0:7a:cd:0e:78:8d:9b:66:d8:74:a3.Please contact your system administrator.Add correct host key in /home/openstack/.ssh/known_hosts to get rid of this message.Offending RSA key in /home/openstack/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/openstack/.ssh/known_hosts" -R
RSA host key for has changed and you have requested strict checking.Host key verification failed.

P.S: I know if I run ssh-keygen -f "/home/openstack/.ssh/known_hosts" -R problem can be solved but than I have to provide password to log in to VM, but my goal is to use keypairs NOT password.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141023/296a37d0/attachment.html>

More information about the Openstack mailing list