(Almost Solved) Re: How to get new RSA key in known_hosts file?
- From: Marc Shapiro <marcnshap@xxxxxxxxx>
- Date: Thu, 24 May 2012 22:10:15 -0700
On 5/24/12, Celejar <celejar@xxxxxxxxx> wrote:
On Thu, 24 May 2012 20:24:49 -0700
Marc Shapiro <marcnshap@xxxxxxxxx> wrote:
How do I manually enter the rsa key, or get ssh to do so, so that I
can connect again?
Issue 'ssh-keygen -R your_hostname_or_ip_address'
Then try reconnecting.
That got me connected, after answering 'yes' to a few prompts, but...
When I now try to connect, I get the following:
Warning: the RSA host key for 'xxxxxx' differs from the key for the IP
Offending key for IP in /home/xxx/.ssh/known_hosts:2
Matching host key in /home/xxx/.ssh/known_hosts:3
Are you sure you want to continue connecting (yes/no)? yes
Linux xxxxxx 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu May 24 21:14:27 2012 from new-host-3.home
As you can see, it does connect me, but only after requiring me to
answer a prompt and enter my password. I don't think that I needed to
enter my password before. Password authentication was disabled for
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Prev by Date: Re: Playing Video - More questions -- Please --- some answers -- I'm stuck
- Next by Date: Re: Playing Video - More questions
- Previous by thread: Re: Playing Video - More questions -- Please --- some answers -- I'm stuck
- Next by thread: Re: (Almost Solved) Re: How to get new RSA key in known_hosts file?