From b9803f47b1d71f5d9d1f3dce702454b84a02b2b4 Mon Sep 17 00:00:00 2001 From: clfreville2 Date: Mon, 18 Sep 2023 14:59:58 +0200 Subject: [PATCH] Add $SSH_OPTS --- bin/vdn-rsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vdn-rsync b/bin/vdn-rsync index 9170e48..fbb8b2b 100755 --- a/bin/vdn-rsync +++ b/bin/vdn-rsync @@ -44,7 +44,7 @@ done if [[ $guest ]]; then determine_redir_port - rsync "${options[@]}" -e "ssh -g -p $sshRedirPort -o StrictHostKeyChecking=no" "${srcs[@]}" "$dest" + rsync "${options[@]}" -e "ssh -g -p $sshRedirPort $SSH_OPTS -o StrictHostKeyChecking=no" "${srcs[@]}" "$dest" else rsync "${options[@]}" "${srcs[@]}" "${dest[@]}" fi