|
|
|
@ -53,7 +53,7 @@ class Connection(object):
|
|
|
|
if self.port is not None:
|
|
|
|
if self.port is not None:
|
|
|
|
self.common_args += ["-o", "Port=%d" % (self.port)]
|
|
|
|
self.common_args += ["-o", "Port=%d" % (self.port)]
|
|
|
|
if self.runner.private_key_file is not None:
|
|
|
|
if self.runner.private_key_file is not None:
|
|
|
|
self.common_args += ["-o", "IdentityFile="+self.runner.private_key_file]
|
|
|
|
self.common_args += ["-o", "IdentityFile="+os.path.expanduser(self.runner.private_key_file)]
|
|
|
|
if self.runner.remote_pass:
|
|
|
|
if self.runner.remote_pass:
|
|
|
|
self.common_args += ["-o", "GSSAPIAuthentication=no",
|
|
|
|
self.common_args += ["-o", "GSSAPIAuthentication=no",
|
|
|
|
"-o", "PubkeyAuthentication=no"]
|
|
|
|
"-o", "PubkeyAuthentication=no"]
|
|
|
|
|