[paramiko] Check connection status

Pepe Barbe elventear at gmail.com
Tue Nov 6 10:19:18 PST 2007


Hello everyone,

I would like to know what will paramiko do if it is blocking on a recv  
request, given that there is no data to retrieve, and the connection  
drops. Will paramiko raise an Exception? Or do I have to frequently  
timeout and check if the connection is still up?

How can I check if a connection is still up? My guess is  
transport.is_authenticated but I am not sure.

Thanks,
Pepe



More information about the paramiko mailing list