[Twisted-Python] How-to raise errors with sshclient conch example in Twisted book

asset asset at impactdamage.com
Thu May 29 21:40:32 MDT 2008

Ref: http://www.devshed.com/c/a/Python/SSH-with-Twisted/4/ 

Im new to Twisted and am trying to learn as quickly as I can.  I apologize if this question is a waste of anybody's time.

When working the with sshclient.py example (from the Twisted book, and the link above) I find the reactor hangs and does not raise an exception on connection failures or failed authentication.

Ive been trying to work out how to catch these situations and shut down the reactor; or cleanup for another attempt, yet I cant seem to wrap my head around it.

I imagine this is trivial and Im totally missing it.

Any help would be greatly appreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20080529/7dee4a72/attachment.html>

More information about the Twisted-Python mailing list