Skip to content

SSH Multiplexing from python library #349

Answered by pkittenis
rinshadka asked this question in Q&A
Discussion options

You must be logged in to vote

Multiplexing is not supported by this library, nor is it needed.

If you want to keep connections alive for an extended duration of time, simply keep the client object in scope in your code/application. All commands are run on an existing per-client-object connection if one is available. The client automatically configures keep-alive packets so that connections remain alive.

New client objects will use new connections, by design.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pkittenis
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