[Twisted-Python] Using twisted.conch
pico at trispen.com
Thu Mar 22 14:08:50 EDT 2007
I'm struggling a bit with twisted.conch.
I've read the howto at
I can understand this example fine.
For a simple application, it works fine to subclass SSHChannel and
implement all the code in that classes methods.
However I would like to be able to implement something as follows:
#Create SshTransport object
#Use SshChannel object to run command, return a deferred
The problem is that, due to the ClientFactory creating instances of the
relevant objects for you (SSHClientTransport,SSHUserAuthClient,etc), you
are left without a reference to the SSHChannel object,required to run
Is there any way to get the SSHChannel object from the
Any advice with this matter would be appreciated.
More information about the Twisted-Python