It would appear that after libssh2_channel_exec() completes, the channel gets destroyed. I created another one and opened up a shell on it to issue the second command -- that worked.

It seems I'm basically in the same boat as the author of the 'multiple exec calls' post.

Thanks,
P

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to