Subject: Re: libssh2 failing to provide remote host key?

Re: libssh2 failing to provide remote host key?

From: Lars Kellogg-Stedman <lars_at_oddbit.com>
Date: Fri, 18 Jun 2010 15:07:47 -0400

>> I'm puzzled as well. I figure you need to set a break-point in kec.x and
>> diffie_hellman_sha1() to see why (not) session->server_hostkey gets used
>> properly.

PEBKAC. The problem is, of course, that the hostkey is not a null
terminated string (which is how I was treating it) but a buffer of
arbitrary data. Duh. I'm'a go hide in the corner now.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-18