Subject: Re: Re-use a session for others channels

Re: Re-use a session for others channels

From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 1 Jan 2010 19:41:49 +0100

Samuel ROZE wrote:
> I've got an "Unable to request a channel from remote host" error
> because the libssh2_channel_open_session function didn't return a
> valid result.

In C you would call libssh2_channel_open_session() multiple times,
with the same session parameter, in order to open several channels
within one SSH session.

>
> Is it a limitation of libssh2 or, normally, it can be done with
> libssh2 ?

C applications can easily open multiple channels using libssh2.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-01