Subject: Concurrent Channels on a Session

Concurrent Channels on a Session

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


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

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. ;-)


Received on 2011-06-02