Hi,From the libssh's point of view, there is no difference if your remote command is long or short time running.
request_exec just starts the command and returns after it is started. After that you can read/write to the channel. As the command is finished, you will get an EOF on remote stdin stream.
Best regards, Nikolay Karikh. 01.11.2017 11:44, kipade wrote:
hi all,as the topic, how to execute a long-time blocking command on remote machine viassh_channel_request_exec? or i can use this interface for such purpose? any hints will be very appreciated.
smime.p7s
Description: Криптографическая подпись S/MIME
