Unable to ssh at server due to invalid key


Unable to run ssh into production instance, as screenshot below 


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


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.