How can I get paramiko to do the equivalent of setting "TCPKeepAlive yes" in ~/.ssh/config?
Got it: Transport.set_keepalive.  Use in conjunction with the timeout argument to SSHClient.connect to set the socket timeout.
Can I enable TCPKeepAlive with paramiko?