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
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