summaryrefslogtreecommitdiffstats
path: root/lib/populate.jq
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-07-17 01:21:38 +0200
committertv <tv@krebsco.de>2016-07-17 01:21:38 +0200
commitf95e0d6aefd869d7c5e15032e72d5365499cd436 (patch)
tree29b532f692034e44853206311862f4d486cb1aa5 /lib/populate.jq
parent375c0f479fa36f9326e6ecbe99e2e98cb2a5e8fc (diff)
add flag to override ssh commandv1.1.1
Diffstat (limited to 'lib/populate.jq')
-rw-r--r--lib/populate.jq4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/populate.jq b/lib/populate.jq
index 23e16e8..fa13795 100644
--- a/lib/populate.jq
+++ b/lib/populate.jq
@@ -97,7 +97,7 @@ def rsync_script:
# ControlPersist=no so we reuse existing control sockets but if we
# create a new one, then remove it immediately after we are done so
# this script does not hang.
- @sh " -e \("ssh -o ControlPersist=no -p \($target.port)") \\",
+ @sh " -e \("\($ssh_cmd) -o ControlPersist=no -p \($target.port)") \\",
@sh " \($target.user)@\($target.host):\($target.path)"
end);
@@ -112,7 +112,7 @@ def compile:
def ssh_target:
@sh "echo \(compile) \\",
- @sh " | ssh \($target.user)@\($target.host) -p \($target.port) -T";
+ @sh " | \($ssh_cmd) \($target.user)@\($target.host) -p \($target.port) -T";
[