Cara Mengatasi Masalah saat remote menggunakan SSH


Saat me-Remote komputer Server mengalami gangguan seperti ini ?

root@smk2mei:~# ssh root@192.168.125.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
56:f4:43:6c:d9:3d:32:95:3e:10:86:20:b8:4a:5a:54.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:2
  remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.125.2
ECDSA host key for 192.168.12.238 has changed and you have requested strict checking.
Host key verification failed.

Solusinya gampang. Kita hanya harus menghapus izin remote yang dulu. dengan beberapa cara berikut


  • rm -rf ./root/.ssh/known_host
  • atau bisa uga dengan
  • ssh-keygen -R 192.168.125.2

Selesai.. Silahkan Me-Remote Ulang :)
Previous
Next Post »