Unable to ssh at server due to invalid key

Problem

Unable to run ssh into production instance, as screenshot below 

Screen_Shot_2018-04-12_at_5.53.27_PM.png

Note: both fingerprint expression and host address were erased from the image for security and confidentiality reasons.

Solution

Server is not considering the key provided as valid for the access.

Use ssh-keygen to delete the invalid key, by running this command on the instance:

ssh-keygen -R <remote host name or ip as shown in known_hosts on line mentioned in error>

You should now be able to ssh into the production environment.

 

Comments

0 comments

Please sign in to leave a comment.