Jumat, 30 November 2012

Gak Bisa SSH

openssh-server udah di install, tapi kok masih belom bisa di-remote yah..... Utak atik-utak atik eh ternyata karena kurang teliti baca, ini nih gara-gara kebiasaan baca cepet, jadi suka ada yang kelewat.

openssh-server dipasang di linuxmint 13 (Maya), mungkin akan sama dengan mesin linux yang lain. Kira-kira solusinya seperti ini:


sta@precise:~$ ssh root@192.168.10.100
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 RSA key sent by the remote host is
e4:8b:8d:6c:2d:0a:37:1c:27:30:dd:a3:c1:a6:bc:3e.
Please contact your system administrator.
Add correct host key in /home/sta/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/sta/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/sta/.ssh/known_hosts" -R 192.168.10.100
RSA host key for 192.168.10.100 has changed and you have requested strict checking.
Host key verification failed.
sta@precise:~$ ssh-keygen -f "/home/sta/.ssh/known_hosts" -R 192.168.10.100
/home/sta/.ssh/known_hosts updated.
Original contents retained as /home/sta/.ssh/known_hosts.old
sta@precise:~$ ssh root@192.168.10.100
The authenticity of host '192.168.10.100 (192.168.10.100)' can't be established.
ECDSA key fingerprint is 4c:14:52:69:38:7a:c1:0f:35:15:86:08:85:35:78:94.
Are you sure you want to continue connecting (yes/no)? yes