Ivan Tretyakov wrote: > How should I know that execution of the current command is finished > on remote side and I can use lbssh2_channel_read to read it?
You don't know. SSH channels are full duplex, not half duplex. You must deal with that in your application, if the particular channel you are working with does not by policy use only half duplex. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel