I think maybe it's possible that this call could be hanging and causing the unresponsiveness issue you talked about. Maybe a safety timeout should be included on the connect call? http://www.lag.net/paramiko/docs/paramiko.SSHClient-class.html#connect