Subject: Concurrent Channels on a Session

Concurrent Channels on a Session

From: Michael C. Cambria <mcc_at_fid4.com>
Date: Wed, 01 Jun 2011 22:33:25 -0400

Hi,

Is it possible to have more than one channel on a session? (I might not
have the terminology down just yet.)

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()

I started looking at what sftp.c did to get one subsystem going. That
helped, but since I don't know the sftp protocol, I'm not sure how much
is subsystem vs sftp. I have one subsystem active. I (think I) have a
second going. When I tried a third, I hit an error. Before continuing,
I thought I'd ask first, just to see if such a thing is possible. It's
also time now to go watch the hockey game. ;-)

Thanks,
MikeC

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