From 6ac325b85dbf9add8d7626b42555701327c4abf5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 7 Apr 2021 11:25:58 +0200 Subject: backup.in: ssh needs *less* quoting --- backup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2