Subject: Re: API libssh2_channel_exec

Re: API libssh2_channel_exec

From: Peter Stuge <>
Date: Sun, 25 Apr 2010 04:46:47 +0200

Hi Mihir,

Mihir Jha wrote:
> What could be the reason for the API libssh2_channel_exec return exit
> status 0(zero) but fails to launch the command at other end?

It is impossible to answer this. Please capture some trace output
from libssh2, and corresponding debug output from the sshd. Then it
will be immediately clear what the problem is.

Look at libssh2_trace and run sshd manually with: sshd -ddd

Send the logs to the mailing list.

Received on 2010-04-25