Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Fabrizio on December 13, 2002, 11:32:45 PM

Title: Access to SSH
Post by: Fabrizio on December 13, 2002, 11:32:45 PM
Hi people,

This is my problem:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
99:a0:ed:e6:ad:cd:82:6a:30:65:22:51:a8:05:5b:80.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
Password authentication is disabled to avoid man-in-the-middle attacks.
X11 forwarding is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey).

Please help me !!!
Title: Re: Access to SSH
Post by: Dan Brown on December 13, 2002, 11:37:52 PM
It's hard to help you if you don't say what you're doing to get this warning...
Title: Re: Access to SSH
Post by: Fabrizio on December 13, 2002, 11:57:28 PM
OK...
This error is generated when I write this command line:
ssh smeserver_ip -l root

Please help me....
Title: Re: Access to SSH
Post by: Robert on December 16, 2002, 04:24:08 AM
Fabrizio wrote:
>
> OK...
> This error is generated when I write this command line:
> ssh smeserver_ip -l root
>
But before you did that, did you run ssh-keygen as root by any chance? That would regenerate the SSH host keys and result in the warning you received.
Title: Re: Access to SSH
Post by: Abe Loveless on December 16, 2002, 10:59:21 PM
Or, have you re-installed the server that you're trying to connect to?

Just open this file:
   - "pico -w /root/.ssh/known_hosts"

Then delete the line that shows the server you are trying to connect to.  Save and close the file.

Try to re-connect.

Hope that helps.