Merge pull request #1993 from fdavis/timeout_ssh

Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args
pull/2006/head
Daniel Hokka Zakrisson 12 years ago
commit ffd4ae11b8

@ -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

Loading…
Cancel
Save