Subject: Re: Concurrent Channels on a Session

Re: Concurrent Channels on a Session

From: Peter Stuge <peter_at_stuge.se>
Date: Thu, 2 Jun 2011 05:05:58 +0200

Michael C. Cambria wrote:
> Is it possible to have more than one channel on a session?

Yes.

> What I'm interested in doing is have one ssh connection, and using it,
> invoke more than one subsystems on the server with several calls to
> libssh2_channel_subsystem()

It'll work fine.

> I'm not sure how much is subsystem vs sftp.

All is sftp. A subsystem is just an 8-bit clean encrypted
authenticated named communications channel.

> I have one subsystem active. I (think I) have a second going.
> When I tried a third, I hit an error.

What error? Please don't just post and say there's an error. Please
post detailed information about how you did what and *what* error you
got.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-06-02