Koozali.org: home of the SME Server

shell problem

dennyhalim

shell problem
« on: January 18, 2007, 10:12:13 AM »
i got problem ssh into smeserver.
it give me this error:
Code: [Select]

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:5e:ae:e1:52:b9:16:83:5f:08:24:xx:xx:xx:xx:xx.
Please contact your system administrator.
Add correct host key in /home/mylogin/.ssh/known_hosts to get rid of this message.Offending key in /home/mylogin/.ssh/known_hosts:3
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
X11 forwarding is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).


anything i do wrong?
how can i do ssh?? how can i fix this?

tia
dny

Offline mmccarn

  • *
  • 2,656
  • +10/-0
shell problem
« Reply #1 on: January 18, 2007, 02:51:36 PM »
As the error says, this could mean that someone is intercepting your traffic, hoping to get you to enter your username & password do they can use it for themselves.

This will also happen if you have accessed two different computers using the same name or IP address - ssh is warning you that the host key returned by the host doesn't match one that is on file for the same host.

I get this error from putty if I am using a VPN connection and connecting to the same private IP on two different networks, for example...

If you can find an explanation for the error, open up /home/mylogin/.ssh/known_hosts and remove the entry for the host you're trying to reach (probably the 3rd entry, judging by your error message).  You'll be prompted to accept the new fingerprint the next time you try to connect.

dennyhalim

shell problem
« Reply #2 on: January 19, 2007, 04:16:02 AM »
just found out.
this is the real reason:
- i have a test sme server installed and do ssh to it
- it automatically add the key to my known host
- i replace my test server with a real server using same ip
- it give me the error.

now that i edit the file and remove the ip from known host, i can do ssh again.

tnx for all help!