Commit 4168a3e8 by James Cammarata

Merge pull request #9462 from tkinz27/paramiko_keepalive

Setting keepalive option before opening session
parents 9c619863 3e992b58
......@@ -194,8 +194,8 @@ class Connection(object):
try:
chan = self.ssh.get_transport().open_session()
self.ssh.get_transport().set_keepalive(5)
chan = self.ssh.get_transport().open_session()
except Exception, e:
......
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