Commit e5ef0eca by James Cammarata

Merge pull request #6507 from brdo/patch-1

Set keepalive to 5 seconds in paramiko_ssh.py
parents 05fdd664 3963a64a
......@@ -186,6 +186,7 @@ class Connection(object):
bufsize = 4096
try:
chan = self.ssh.get_transport().open_session()
self.ssh.get_transport().set_keepalive(5)
except Exception, e:
msg = "Failed to open session"
if len(str(e)) > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment