Subject: Re: Problem with known_hosts

Re: Problem with known_hosts

From: Alexander Lamaison <>
Date: Thu, 3 Mar 2011 14:04:46 +0000

On 2 March 2011 15:22, Pierre-Yves Fontaniere <> wrote:
> 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".

The best way to provide the patch is using git diff. This preserves
the log and authorship information in a way that can simply be
comitted as-is.

Failing that, please provide the patch from `diff -u`. Context diffs
can be hard to read for humans.

>  - Some lines to really remove ending '\n' directly when reading lines from
> knownhosts file.

Can you explain a bit more about this? What was the code doing wrong before?

>  - A section to handle correctly multiple hostnames, aliases, IP addr on the
> same line in knownhosts file.

For my testing, can you send me an example of what one of these AIX
entries with multiple aliases contains?

Thanks for the patch! What revision is that patch against? The
current git head?


Easy SFTP for Windows Explorer (
Received on 2011-03-03