Re: Problems exchanging data with remote server
- Subject: Re: Problems exchanging data with remote server
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 02 Aug 2011 15:51:16 +0200
- To: libssh@xxxxxxxxxx
On Tuesday 02 August 2011 15:25:31 you wrote:
> Hi Andreas,
> Thanks for your time and answers. Attached you will find a full debug log of
> the problem, as requested. If you need additional logging or data, please
> let me know.
> I agree with you that even if the packet size of 32000 might not be as per
> specifications, it most likely won't be the cause of problem I'm facing
> here. Is this something that should be corrected on the server side?
> Because I do think it may eventually lead to problems as some of the data
> packets that we receive from the server could easily exceed 64k bytes.
I've looked at the output of openssh. They use 0 as the first window and let
> Right now we are just using ssh_channel_write() (of course after we have
> logged in and called ssh_channel_new() and ssh_channel_open_session()).
> Knowing that I am connecting to a 'plain' SSH server that I can connect to
> using the OS ssh command as well, I was thinking that I could try that
> approach with our client program too. Hence my question if using the
> ssh_channel_request_exec() function as a way of issuing commands to the
> server (instead of the ssh_channel_write() function) might yield different
Normall you need a non-interactive shell:
or use the exec command:
Andreas Schneider GPG-ID: F33E3FC6
Archive administrator: email@example.com