Search code examples
pythonmodulesshpopentunnel

Python: Is there a python module for ssh that supports lots of tunnels?


I am writing a program that creates reverse tunnels with ssh. I am using Popen currently, but I am receiving an error because I have too many arguments. So my question is:

Is there any python module that supports a lot of tunnels? (Preferably 1000+)


Solution

  • Not so much a module as a library, Twisted.Conch might be a better approach... but be warned that of all the modules in Twisted, conch can be one of the most intimidating ( atleast IMHO ).