Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args

pull/1993/head
fdavis 12 years ago
parent 98f0a9210e
commit 21a5c55921

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