Hi Niels and Everybody,

A user reported a problem connecting to a SSH-2.0-Sun_SSH_1.0 
French server, which sends about 250 (!) supported encodings in
its KEXINIT packet, and results in the error message:

lsh: Protocol error: Invalid KEXINIT message.

After a bit of research, in "lsh-1.4.2/src/keyexchange.c",
there's an interesting comment:

/* Arbitrary limit on list length */
#define KEXINIT_MAX_ALGORITMS 47

which seems to be the reason for this failure, as increasing
it to 1024 (arbitrary too!) fixed the error.

In case this happens to someone else...

Best Regards,

 - Jean-Pierre.


_______________________________________________
lsh-bugs mailing list
[EMAIL PROTECTED]
http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs

Reply via email to