Subject: Muliple libssh2_channel_exec() on the same channel fails

Muliple libssh2_channel_exec() on the same channel fails

From: anirudh nair <anirudh.anu01_at_gmail.com>
Date: Tue, 20 Dec 2011 16:36:53 +0530

Hi all,

I'm unable to do multiple libssh2_channel_exec() on the same channel.
The second time I try to execute libssh2_channel_exec() it fails with
error LIBSSH2_ERROR_CHANNEL_REQUEST_DENIED.

Here is the method that does the command execution, it fails on the second
attempt:

http://pastebin.com/LqDcd4eB

Thanks
Anirudh

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-12-20