diff options
author | Erich Eckner <git@eckner.net> | 2021-03-31 07:12:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-03-31 07:12:19 +0200 |
commit | fac41092c0ec71de3978b3db11ad22aeb0f0d2d0 (patch) | |
tree | f7b5bf9dd91146596457b692bbc86972d88446ae | |
parent | 1e37f18e541fa2672c5b021f24be8ac27b8af1fb (diff) | |
download | hardlinkedBackups-fac41092c0ec71de3978b3db11ad22aeb0f0d2d0.tar.xz |
backup.in: send some data over the ssh for the tunnel to avoid timeouts
-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}" + 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 |