[paramiko] Testing an exception

Robey Pointer robey at tavi.lag.net
Fri Aug 24 11:08:25 PDT 2007


On 8 Aug 2007, at 6:05, jay wrote:

> That makes more sense.  The remote SSH server is VEEERY slow and  
> login times can exceed 1 minute sometimes.  Unfortunately, that  
> server is out of my control.

You should be able to extend that timeout by doing:

     t.banner_timeout = 120

(where 't' is your Transport).  120 would be 120 seconds or two  
minutes.  Now THAT is high latency! :)

robey




More information about the paramiko mailing list