Bismillah
Kemarin saya menemukan kasus ketika saya mencoba login via ssh ke router server, malah saya mendapati pesan error seperti 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 xx:xx:xx:xx:a6:cf:11:10:3a:cf:1b:a2:xx:xx:xx:xx Please contact your system administrator. Add correct host key in /home/user/.ssh/known_hosts to get rid of this message. Offending key in /home/user/.ssh/known_hosts:2 RSA host key for ras.mydomain.com has changed and you have requested strict checking. Host key verification failed.
Alhamdulillah setelah mencari solusi lewat google, saya menemukan solusi dari beberapa Artikel :
http://www.cyberciti.biz/faq/warning-remote-host-identification-has-changed-error-and-solution/
dan hampir sama dari artikel ini
http://digitoktavianto.web.id/solusi-error-untuk-warning-remote-host-identification-has-changed.html
Ternyata hal ini di pengaruhi adanya perubahan settingan pada server, dan ketika kita mencoba login ke server yang sama melalui ssh, maka yang di identifikasi adalah settingan host yang lama, sehingga yang muncul adalah error di atas.
Lanjut ke solusi masalah, adapun langkah-langkah yang saya ambil adalah dengan cara menghapus file khown_host.
Pertama masuk ke direktory .ssh kemudian hapus file khown.host
root@slackcyber:~#cd /root/.ssh
root@slackcyber:~#rm known_host
Kemudian coba Reboot Server Anda, dan lakukan login via SSH.
nice post gan
BalasHapus