Irfan,
libssh 0.4.0 is too old and contains the same bug. The fix for your
problem was put in the git repository, branch v0-4. The procedure to get
it is:
git clone git://git.libssh.org/projects/libssh/libssh.git libssh
cd libssh
git branch -b origin/v0-4 v0-4
git checkout v0-4
then you should have the last v0-4 branch on your computer. issue
git pull
when you want to update your local version.
Regards,
Aris
irfan naseef wrote:
On Tue, Mar 2, 2010 at 12:33 AM, Aris Adamantiadis <[email protected]
<mailto:[email protected]>> wrote:
Hi Irfan,
Could you try with libssh in git on branch v0-4 ?
The problem was (at least for me) a race condition in ssh_scp_close
which caused the channel and session to be shut down before the remote
scp had finished the file copy.
Please give me your feedback.
Regards,
Aris
Hi,
I dont know how to try libssh in git on branch v0-4 as u said .. So i
downloaded libssh-0.4.0 from http://www.libssh.org/files/ and installed
it. And i tried recompiling program and run it, but getting the same
problem now also...
irfan