summaryrefslogtreecommitdiff
path: root/backup.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-07 11:25:58 +0200
committerErich Eckner <git@eckner.net>2021-04-07 11:25:58 +0200
commit6ac325b85dbf9add8d7626b42555701327c4abf5 (patch)
tree041679b0693e477503d275a30f31b5ed1340312c /backup.in
parentfac41092c0ec71de3978b3db11ad22aeb0f0d2d0 (diff)
downloadhardlinkedBackups-6ac325b85dbf9add8d7626b42555701327c4abf5.tar.xz
backup.in: ssh needs *less* quoting
Diffstat (limited to 'backup.in')
-rwxr-xr-xbackup.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/backup.in b/backup.in
index 63ee756..6174837 100755
--- a/backup.in
+++ b/backup.in
@@ -149,7 +149,7 @@ elif [ "$#" -eq 4 ]; then
exit 1
fi
rsyncShell="-e ssh -${ipVer} -p${lokPort} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
- tunnelBefehl="ssh -${ipVer} -t -t -L${localAddress}:${lokPort}:${QuellIP}:22 ${sshHopp} 'while sleep 60; do date; done'"
+ tunnelBefehl="ssh -${ipVer} -t -t -L${localAddress}:${lokPort}:${QuellIP}:22 ${sshHopp} while sleep 60; do date; done"
Quelle="$(echo "$3" | sed "s|${QuellIP}|${localAddress}|")"
else
usage