Commit ffd4ae11 by Daniel Hokka Zakrisson

Merge pull request #1993 from fdavis/timeout_ssh

Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args
parents 70d5dad7 21a5c559
......@@ -61,6 +61,7 @@ class Connection(object):
self.common_args += ["-o", "KbdInteractiveAuthentication=no",
"-o", "PasswordAuthentication=no"]
self.common_args += ["-o", "User="+self.runner.remote_user]
self.common_args += ["-o", "ConnectTimeout="+str(self.runner.timeout)]
return self
......
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