Thanks for quick reply. I haven't seen any configuration parameters in openssh (the KeyRegenerationInterval parameter seems to concern SSH1 only) so I made a query to the openssh mailing list.
> Date: Fri, 13 Aug 2010 00:42:21 +0200 > From: [email protected] > To: [email protected] > Subject: Re: Key regeneration failure (serverside demand) > > On Thu, 12 Aug 2010, Mikael Johansson wrote: > > > After 1 GB of uploaded data, the server tries to reexchange keys. My > > application ignores it and continues sending data. The server closes the > > connection. I think the problem lies in the libSSH2 not taking care of the > > key exchange. Tests with the libSSH2's sample program scp_write_nonblock.c > > shows the same result. > > > > Is there a way to configure libSSH2 to perform this reexchanging of keys > > automatically? > > I figure it should do that already. This sounds like a genuine bug. > > Is there any decent way we can repeat this problem using just openssh as > server? > > -- > > / daniel.haxx.se > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
