Header Ads

MENGATASI ERROR SAAT MEREMOTE SERVER LEWAT TERMINAL


Pernah mengalami hal seperti saya?
Ketika mau meremote Server lewat SSH di Terminal, tidak bisa..

Kali ini saya akan berbagi cara dari pengalaman saya diatas.
Mengatasi
febro-Lenovo-G40-30 febro # ssh root@10.10.10.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
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
16:a3:86:bf:fd:cd:91:c5:06:a4:29:f6:3c:7d:a5:50.
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:1
remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 10.10.10.2
ECDSA host key for 10.10.10.2 has changed and you have requested strict checking.
Host key verification failed.


Ikuti Tutorial Berikut :

1. Hapus direktori / alamat ijin known_hosts
febro-Lenovo-G40-30febro # rm -rf /root/.ssh/known_hosts

2. Kemudian coba remote kembali server yang kalian inginkan.
febro-Lenovo-G40-30 febro # ssh root@10.10.10.2

~hasil
The authenticity of host '10.10.10.2 (10.10.10.2)' can't be established.
ECDSA key fingerprint is 16:a3:86:bf:fd:cd:91:c5:06:a4:29:f6:3c:7d:a5:50.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.10.2' (ECDSA) to the list of known hosts.
root@10.10.10.2's password:
Linux smkbisa.sch.id 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u2 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Mar 14 08:21:05 2015 from 10.10.10.1
root@smkbisa:~#
Sekian Tutorial daei Saya..
Terima Kasih.. Semoga Bermanfaat

Tidak ada komentar