Koozali.org: home of the SME Server

Access to SSH

Fabrizio

Access to SSH
« 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 !!!

Dan Brown

Re: Access to SSH
« Reply #1 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...

Fabrizio

Re: Access to SSH
« Reply #2 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....

Robert

Re: Access to SSH
« Reply #3 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.

Abe Loveless

Re: Access to SSH
« Reply #4 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.