Subject: Re: [libssh2] libssh2-0.16 hanging on scp copy

Re: [libssh2] libssh2-0.16 hanging on scp copy

From: Peter O'Gorman <>
Date: Tue, 7 Aug 2007 20:03:02 -0500

On Tue, Aug 07, 2007 at 11:25:21AM -0500, Peter O'Gorman wrote:
> I tried with several "small" files (up to about 1Mb) and things seemed
> to work fine with both scp and sftp, no hanging.
> We configured libssh2 with libgcrypt-1.2.4 and libgpg-error-1.5.

Ok, I can repeat fairly simply on this Fedora Core 6 machine also.

1) Download libssh2-0.17 and unpack.
2) ./configure CFLAGS=-ggdb3
3) gmake
4) cat /dev/urandom > /tmp/TEST; (you can stop it at 100Mb or so)
5) cd examples/simple
6) ./scp_nonblock user pass > /tmp/TEST2


This email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
libssh2-devel mailing list
Received on 2007-08-08