Re: Disabling RSA host key check temporarily
On Tue, 7 Apr 2009 18:09:48 -0500
Chris <racerx@makeworld.com> wrote:
> On Wed, 8 Apr 2009 02:03:03 +0300
> Dotan Cohen <dotancohen@gmail.com> wrote:
>
> > After reinstalling the OS on my desktop, SSHing in gives me this
> > error:
> >
> > $ ssh -X user@x.x.x.x
> > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > @ 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
> > 96:49:8f:d9:f4:a5:98:a8:52:f6:c0:d7:d1:58:aa:a0.
> > Please contact your system administrator.
> > Add correct host key in /home/hardy1/.ssh/known_hosts to get rid of
> > this message.
> > Offending key in /home/hardy1/.ssh/known_hosts:28
> > RSA host key for 192.168.0.100 has changed and you have requested
> > strict checking.
> > Host key verification failed.
> >
> >
> >
> > Is there a way to override the check, and to have it accept the new
> > key? I went through the SSH manpage and there was no mention of an
> > override command.
> >
> > Dotan Cohen
> >
> > http://what-is-what.com
> > http://gibberish.co.il
> >
> >
>
> rm -f /home/hardy1/.ssh/known_hosts
>
> OR
>
> edit the file and remove the instance.
ssh-keygen -R x.x.x.x
Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: