Python 我可以使用paramiko启用TCPKeepAlive吗?

Python 我可以使用paramiko启用TCPKeepAlive吗?,python,ssh,paramiko,Python,Ssh,Paramiko,如何让paramiko在~/.ssh/config中设置“TCPKeepAlive yes”的等效操作?明白了:传输。设置\u keepalive。与SSHClient.connect的timeout参数结合使用,以设置套接字超时

如何让paramiko在
~/.ssh/config
中设置“TCPKeepAlive yes”的等效操作?

明白了:
传输。设置\u keepalive
。与
SSHClient.connect的
timeout
参数结合使用,以设置套接字超时