diff options
-rwxr-xr-x | backup.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,9 +57,9 @@ then sshHopp="$4" lokPort=$[$RANDOM/2+8000] rsyncShell="-e ssh -6 -p${lokPort} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" - tunnelBefehl="ssh -6 -t -t -L${lokPort}:${QuellIP}:22 ${sshHopp}" + tunnelBefehl="ssh -6 -t -t -L[::1]:${lokPort}:${QuellIP}:22 ${sshHopp}" HoppIP="${sshHopp#*@}" - Quelle="$(echo "$3" | sed "s|${QuellIP}|::1|")" + Quelle="$(echo "$3" | sed "s|${QuellIP}|[::1]|")" else usage fi |