editing 'new' known_hosts files
\ LeVA (22 Jul 2006)
. \ Steve Kemp (22 Jul 2006)
. \ Thomas Seliger (25 Jul 2006)

2 msgRE: [SECURITY] [DSA 1118-1] New Mozilla package...
1 msgsecurity.debian.org - local repository
1 msgRe: [SECURITY] [DSA 1113-1] New zope2.7 package...
1 msgRe: [SECURITY] [DSA 1112-1] New mysql-dfsg-4.1 ...
1 msggreat growth on pink sheets, the information is...
1 msghuge take-off on pink sheets, look through the ...
8 msgRe: [SECURITY] [DSA 1111-1] New Linux kernel 2....
2 msgWhich kernels are vulnerable?
1 msgSubject: HealthUniverse is on a roll HLUN . pk
3 msgautoresponse
1 msgcontpaq 2004
1 msgCompliments
4 msgRe: [SECURITY] [DSA 1108-1] New mutt packages f...
1 msgRe: [SECURITY] [DSA 1107-1] New GnuPG packages ...
1 msgRe: [SECURITY] [DSA 1106-1] New ppp packages fi...
1 msgSendmail security fix for stable?
1 msgRe: [SECURITY] [DSA 1105-1] New xine-lib packag...
4 msgRe: [SECURITY] [DSA 1104-2] New OpenOffice.org ...
1 msgRe: Job
Subject:Re: editing 'new' known_hosts files
Group:Debian-security
From:Thomas Seliger
Date:25 Jul 2006


 
LeVA wrote:

> I have reinstalled a server of mine, and now I need to remove it's old
> pubkey from my $HOME/.ssh/known_hosts, but it is in the "new" format,
> so no hostnames which may indicate which pubkey belongs to which host.

In addition to what Steve wrote: OpenSSH specifies the conflicting line number in the "key changed" warning message. So you can delete the "offending" line. There should be one line for the hosts name (change will terminate connection attempt) and one for the IP (change will yield a warning).

Best regards,
Tom


--
To UNSUBSCRIBE, email to debian-security-REQUEST
with a subject of "unsubscribe". Trouble? Contact listmaster



© 2004-2008 readlist.com