Tuesday 15 January 2013

ssh - Host key verification failed - amazon EC2 -


I am working with 7 wins and git bash as well as an Amazon EC2 example. I tried to enter my example:

  $ ssh -if: mykey.pem ubuntu@ec2-52-10-**-**.us-west-2.compute @@@@@ The hosting identity has been changed! Follow TADEPE on Twitter: Follow TADEPE on Twitter @@@@@@@@ @ It is possible that anyone is mortal! Someone may be hidden on you now (man-in-the-middle attack)! It is also possible that a host key has just been changed. Fingerprint for the ECDSA key sent by remote host 71: 00: D7: D8: A ---------- SAP 26 Please contact your system administrator. To get rid of this message, add the correct host key to /m/.ssh/known_hosts. Penalizing ECDSA key in /m/.ssh/known_hosts_2 has changed the ECDSA host key for EC2-52-10 - ** - **. We-West-2.Put.Mayazonose.com has changed and you request that you do a strict inquiry. Host key validation failed  

Thus logging has worked well in the past, but after rebooting my EC2 example this problem started, how can I do this again?

Edit:

  $ ssh -if: tproxy.pem ubuntu@ec2-52-10-**-**.us -west-2.compute Amazonaws.com ssh: Connect to host ec2-52-10 - ** - **. Us-west-2.compute.amazonaws.com Port 22: Bad File Number  

Enter image details here

Try again:

  Host authenticity 'ec2-52-10 - ** - ** Us-west-2.compute.amazonaws.com (52.10. ** - **) 'can not be installed. ECDA Key Fingerprint D6: C4: 88: ----------- FD: 65 Do you want to continue connecting (yes / no)? Please type 'yes' or' no ': Yes Warning: permanently added' ec2-52-10 - ** - ** Us-west-2.compute.amazonaws.com, 52.10 ** - ** '(ECDSSA) In the list of known hosts. Permission denied (publisher)  

What should I do now?

A new SSP key in the hostname, therefore SH tells you something has changed. Here's the sign: If you are certain that the server on the other side is authentic, you can use the < Code> /m/.ssh/known_hosts should remove line 27.


No comments:

Post a Comment