Remote Host Identification Has Changed – BLT Sync and SSH Error

Remote Host Identification Has Changed

Many times when you try to set up your local environment from scratch you might face this issue. This is originally SSH-error which shows “REMOTE HOST IDENTIFICATION HAS CHANGED”.

The external command could not be executed due to an application error. The command could not be successfully (returned: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
@ 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 ECDSA key sent by the remote host is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. 
Please contact your system administrator. 
Add correct host key in /Users/debdattasarkar/.ssh/known_hosts to get rid of this message. 
Offending ECDSA key in /Users/debdattasarkar/.ssh/known_hosts:7 ECDSA host key for local.xxxxxxx.com has changed and you have requested strict checking. 
Host key verification failed. , code: 255) Error: no database record could be found for target @xxxxxxx.local

To resolve this issue you will just need to do these following steps.
~/.ssh/known_hosts is where the host keys are stored. A sample entry of the file is as the following.

ssh-keygen -R host

ssh-keygen

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x