Revision fff33d70 lib/ssh.py
b/lib/ssh.py | ||
---|---|---|
116 | 116 |
The ssh call to run 'command' on the remote host. |
117 | 117 |
|
118 | 118 |
""" |
119 |
argv = ["ssh", "-q"]
|
|
119 |
argv = [constants.SSH, "-q"]
|
|
120 | 120 |
argv.extend(KNOWN_HOSTS_OPTS) |
121 | 121 |
argv.append(self._GetHostKeyAliasOption()) |
122 | 122 |
if batch: |
... | ... | |
171 | 171 |
logger.Error("file %s must be an absolute path" % (filename)) |
172 | 172 |
return False |
173 | 173 |
|
174 |
command = ["scp", "-q", "-p"]
|
|
174 |
command = [constants.SCP, "-q", "-p"]
|
|
175 | 175 |
command.extend(KNOWN_HOSTS_OPTS) |
176 | 176 |
command.extend(BATCH_MODE_OPTS) |
177 | 177 |
command.append(self._GetHostKeyAliasOption()) |
Also available in: Unified diff