WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

sshHow to fix and issue on client side where you get a warning like one below

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Solution:

type the below command:

ssh-keygen -R [your domain name or IP address].

You should see below output

# Host 10.0.0.12 found: line 7 type RSA

/Users/johinc/.ssh/known_hosts updated.

Original contents retained as /Users/johinc/.ssh/known_hosts.old

There after you may proceed connecting to your ssh server