Remote Host Identification SSH Error
Rajus-MBP:.ssh Raju$ ssh -i Key.pem [email protected] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 is SHA256:oFgx2U4Q0KUxtFnouxHYJdLyH6qDbX/rKtsg Please contact your system administrator. Add correct host key in /Users/Raju/.ssh/known_hosts to get rid of this message. Offending RSA key in /Users/Raju/.ssh/known_hosts:1 RSA host key for 54.214.1.26 has changed and you have requested strict checking. Host key verification failed.
Edit known_hosts and remove the offending host entry and SSH into Host Again
Rajus-MBP:.ssh Raju$ vi known_hosts Rajus-MBP:.ssh Raju$ ssh -i Key.pem [email protected] The authenticity of host '54.214.1.26 (54.214.1.26)' can't be established. ECDSA key fingerprint is SHA256:2VcR+DiKNRwyQwZ2LqtZ6EHxQYv5MWMAsrrI. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '54.214.1.26' (ECDSA) to the list of known hosts. Last login: Fri Jul 29 23:08:35 2016 from __| __|_ ) _| ( / Amazon Linux AMI ___|\___|___| https://aws.amazon.com/amazon-linux-ami/2016.03-release-notes/ 4 package(s) needed for security, out of 4 available Run "sudo yum update" to apply all updates.