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.

TP

From: Khayam Gondal <khayam.gon...@gmail.com<mailto:khayam.gon...@gmail.com>>
Date: Thursday, October 23, 2014 at 2:32 AM
To: "openst...@lists.openstack.org<mailto:openst...@lists.openstack.org>" 
<openst...@lists.openstack.org<mailto:openst...@lists.openstack.org>>, 
"openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>" 
<openstack-dev@lists.openstack.org<mailto:openstack-dev@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 10.3.24.56

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 10.3.24.56
RSA host key for 10.3.24.56 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 
10.3.24.56 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.
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to