Re: Deleting from .ssh/known_hosts
- From: Daniele Santi <daniele@xxxxxxxxxxx>
- Date: Fri, 26 Jan 2007 16:55:57 +0100
Hi,
The fix, of course, would be to let ssh create a new fingerprint. To do that,
I need to delete the fingerprint for the old host. As the host names aren't
in clear text, I have no idea how to go about this. I'm sure it's easy, but
I've looked in the man page, and it isn't obviously documented.
when ssh tells you the fingerprint has changed, it should tell you the
line which contains the fingerprint, then you could do
vi +line_number ~/.ssh/known_hosts
and then issue
dd
to delete the "offending" line.
cheers
--
( (
)\ ) ) ) )\ ) ) (
(()/( ( /( ) ( /( ( (()/( ( ( /( )\
/(_)))\()) ( /( )\()) ))\ /(_)))\ ( )\()) ( ((_)(
(_)) ((_)\ )(_))(_))/ /((_) (_)) ((_) )\ (_))/ )\ _ )\
/ __|| |(_)((_)_ | |_ (_)) | _ \ (_)((_)| |_ ((_)| |((_)
\__ \| / / / _` || _|/ -_) | _/ | |(_-<| _|/ _ \| |(_-<
|___/|_\_\ \__,_| \__|\___| |_| |_|/__/ \__|\___/|_|/__/
-- Punk Posers
---------------------------------------------------------
() ascii ribbon campaign - against html mail
/\ - against microsoft attachments
---------------------------------------------------------
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Deleting from .ssh/known_hosts
- From: Michael Satterwhite
- Deleting from .ssh/known_hosts
- Prev by Date: Re: Deleting from .ssh/known_hosts
- Next by Date: Re: VNC Server
- Previous by thread: Re: Deleting from .ssh/known_hosts
- Next by thread: Re: Deleting from .ssh/known_hosts
- Index(es):
Relevant Pages
|