[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

known_hosts file format


Hi,

I ran into problems with a number of hosts whose host keys libssh
absolutely refused to recognize. It turned out that their known_hosts
entry had an extra comment field, which, according to the openssh docs,
is valid:

  "Each line in these files contains the following fields: hostnames,
   bits, exponent, modulus, comment.  The fields are separated by spaces."

libssh, however, completely ignores such entries arguing that 5 fields are
never valid  (keyfiles.c:1309 in 0.4.8).

Is this a known incompatibility (haven't seen any note on it) or am I just
the first to notice this ?

Norbert


Follow-Ups:
Re: known_hosts file formatAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org