Assalamu'alaikum wr.wb
Jika anda pernah menggunakan ssh(remote jarak jauh) anda mungkin pernah mengalami error seperti di bawah ini.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
c4:bc:9a:55:86:0f:67:2d:cb:4d:be:27:50:ec:7d:83
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for ras.mydomain.com has changed and you have requested strict checking.
Host key verification failed.
Jangan takut dan khawatir error tersebut terjadi ketika rsa key di server telah di update / bisanya server di install ulang...
Cara mengatasi nya adalah dengan mengupdate key rsa di komputer kita. Caranyta cukup sederhana dan mudah ketikan aja kode berikut :
Kita copykan baris "ssh keygen -f "/root/.ssh/known hosts" -R 192.168.21.2
192.168.21.2 adalah ip server saya
Kemudian saya coba login kembali
Selesai