diff options
author | Erich Eckner <git@eckner.net> | 2021-04-07 11:25:58 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-04-07 11:25:58 +0200 |
commit | 6ac325b85dbf9add8d7626b42555701327c4abf5 (patch) | |
tree | 041679b0693e477503d275a30f31b5ed1340312c /backup.in | |
parent | fac41092c0ec71de3978b3db11ad22aeb0f0d2d0 (diff) | |
download | hardlinkedBackups-6ac325b85dbf9add8d7626b42555701327c4abf5.tar.xz |
backup.in: ssh needs *less* quoting
Diffstat (limited to 'backup.in')
-rwxr-xr-x | backup.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |