Subject: Re: libssh2_channel_exec guidance

Re: libssh2_channel_exec guidance

From: bayan <nayab9_at_gmail.com>
Date: Wed, 4 May 2011 12:04:03 -0400

Hi Peter,

Thanks for the reply!

I will go ahead and attempt the tracing compile, hopefully that will provide
some more information that i can post when I get a chance.

For now, I kept track of the number of characters transferred each time
which totals to ~73000 characters (give or take a few, I suppose due to the
way I am measuring it)

Replacing my "command" libssh2 exec call, with simply putting "command" into
putty, I am able to keep going well beyond this 73k character point where it
dies through libssh2 everytime.

As Daniel suggested, here is some more information:

libssh2 version: #define LIBSSH2_VERSION "1.2.7"

libssh2 compiled and running on Windows XP, connecting to a Unix machine.

Cheers!
Ben

On Tue, May 3, 2011 at 8:54 PM, Peter Stuge <peter_at_stuge.se> wrote:

> bayan wrote:
> > ssh_channel = libssh2_channel_open_session(ssh_session);
> > libssh2_channel_exec(m_ssh_channel, command);
> ..
> > Everything is working all fine and dandy (oh ya, dandy!), up until I
> > transfer X amount of (large?) data. The amount of data transferred is
> > exactly the same every time, at which point it completely halts all
> > transfer.
> ..
> > Please let me know if there is anything else I can provide for more help!
>
> For starters make X known.
>
> It would also be very useful if you could enable tracing and provide
> the output from that. (You may have to build a version of libssh2
> that includes the debug messages.)
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-05-04