[Twisted-Python] Notification when SSHConnectForwardingChannel is ready for traffic?

Naveen Michaud-Agrawal naveen.michaudagrawal at gmail.com
Mon Nov 30 17:17:43 MST 2015


Hi,

I've managed to implement ssh tunneling using this answer on SO -
http://stackoverflow.com/a/23549091/5605324, and the tunnel can be used
from another app. However I would like to use it from within the twisted
application, but I'm not sure what to wire up so that I can get a callback
when the SSHConnectForwardingChannel is ready for traffic. It looks like I
can attach a callback to channel's _channelOpenDeferred, but that seems a
bit hacky. Any suggestions?

Thanks
Naveen Michaud-Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20151130/2e72554c/attachment.html>


More information about the Twisted-Python mailing list