[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get exit code of a executed remote command


Hi,

I tried to run a command on a remote host via "ssh_channel_request_exec" and get the the exit code back. My problem is that "ssh_channel_get_exit_status" returns always -1.

Any idea what I'm doing wrong?


Thanks in advance,

Thomas

Follow-Ups:
Re: Get exit code of a executed remote command"Oliver Stöneberg" <oliverst@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org