Re: How to get new RSA key in known_hosts file?
On 25/05/12 17:00, Markus Schönhaber wrote:
<snipped>
> man ssh-keygen
> | -R hostname
> | Removes all keys belonging to hostname from a known_hosts
> | file. This option is useful to delete hashed hosts (see the -H
> option above).
>
> One can, of course, edit known_hosts manually to achieve the same
> effect.
>But I consider ssh-keygen -R to be the safer method.
And I agree.
And thanks for reminding me to read the man - I'd simply confirmed that
the quoted command didn't work without realising it was just wrongly used.
Please read the post I was responding to again.... :-)
"ssh-keygen -R your_hostname_or_ip_address" *will not solve the OP's
problem*.
Which would explain the OP's reponse to that.
ssh-keygen -R the_remote_ip_address *will work*
as will deleting the conflicting entry in known_hosts
Kind regards
--
Iceweasel/Firefox/Chrome/Chromium/Iceape/IE extensions for finding
answers to questions about Debian:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/
Reply to: