Raspberry Pi 0.9 ~ Host Key Verification Failed

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN:NN.
Please contact your system administrator.
Add correct host key in /Users/ic4l/.ssh/known_hosts to get rid of this message.
Offending key in /Users/ic4l/.ssh/known_hosts:8
RSA host key for [192.168.x.x]:22 has changed and you have requested strict checking.
Host key verification failed.

“Host key verification failed”
Artinya host key dari host remote berubah. Biasanya IPnya berubah.

Awalnya seh bingung kenapa ga bisa conect lagi ke raspi gue. Itu karena sebelumnya gue ganti OSnya. Cukup dengan kata kunci “Host key verification failed.” lewat google jawabannya ketemu.

SSH menyimpang kunci host dari remote diĀ ~/.ssh/known_hosts. Kalian bisa mengedit manual atau menghapus kunci yang lama dengan menggunakan perintah :

ssh-keygen -R hostname

atau

ssh-keygen -R IP Address

Leave a Reply

Your email address will not be published. Required fields are marked *