Re: [Twisted-Python] Twisted Conch SSH timeout

2009-02-04 Thread Paul Swartz
On Wed, Feb 4, 2009 at 11:49 AM, ray terrill wrote: > Could you give me an example of how handling the connectionLost() could be > accomplished? I'm not sure where I need to integrate that into what I've > already got. For example: class ClientCommandTransport( transport.SSHClientTransport):

Re: [Twisted-Python] Twisted Conch SSH timeout

2009-02-04 Thread ray terrill
Could you give me an example of how handling the connectionLost() could be accomplished? I'm not sure where I need to integrate that into what I've already got. -Ray On Mon, Feb 2, 2009 at 7:32 PM, Paul Swartz wrote: > On Mon, Feb 2, 2009 at 2:22 PM, ray terrill > wrote: > > I've got a Twiste

Re: [Twisted-Python] Twisted Conch SSH timeout

2009-02-02 Thread Paul Swartz
On Mon, Feb 2, 2009 at 2:22 PM, ray terrill wrote: > I've got a Twisted Conch/SSH script that I inherited which I'm using to run > commands remotely on some servers. I'd like to add a timeout for servers > that are down, etc (the script currently hangs on these), but I'm not sure > where to add t

[Twisted-Python] Twisted Conch SSH timeout

2009-02-02 Thread ray terrill
I've got a Twisted Conch/SSH script that I inherited which I'm using to run commands remotely on some servers. I'd like to add a timeout for servers that are down, etc (the script currently hangs on these), but I'm not sure where to add that functionality. Any help would be appreciated. Thanks, -