Subject: Re: Problem with known_hosts

Re: Problem with known_hosts

From: Pierre-Yves Fontaniere <>
Date: Wed, 02 Mar 2011 16:22:09 +0100

On 03/02/2011 02:11 PM, Alexander Lamaison wrote:
>> Anyway, I hope I could provide a patch soon.
> Great :)
I'm not really used to provide patches, and i'm working on AIX also, so
the way of doing a patch is somewhat different :)
File provided is from a "diff -c".

I added :
  - A little section to skip '@' begining lines instead of handling them
as an hostname.
  - Some lines to really remove ending '\n' directly when reading lines
from knownhosts file.
  - A section to handle correctly multiple hostnames, aliases, IP addr
on the same line in knownhosts file.

Hope it will be OK for you.



Received on 2011-03-02