Skip to content

Send inputs to already running remote process #498

Answered by ronf
rinkurajole asked this question in Q&A
Discussion options

You must be logged in to vote

In SSH terminology, there are connections and channels, where you can open multiple channels over the lifetime of a connection (including having a small number open simultaneously), allowing you to avoid having to open the SSH TCP connection and perform the initial SSH handshake and authentication every time. A channel can be used to run an interactive shell, run a command, talk to some other subsystem like an SFTP server, or perform various kinds of "port forwarding" between the SSH client and server.

Unfortunately, SSH doesn't let you open multiple channels tied back to the same remote process. Each SSH channel has an associated session which is started fresh when the channel opens. So,…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rinkurajole
Comment options

Comment options

You must be logged in to vote
1 reply
@rinkurajole
Comment options

Answer selected by rinkurajole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants