From 33fc5e8c6a3a1160b0f20aef3ff2ebef53436c33 Mon Sep 17 00:00:00 2001 From: clfreville2 Date: Mon, 13 Mar 2023 10:53:06 +0100 Subject: [PATCH] Add StrictHostKeyChecking=no --- bin/vdn-rsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vdn-rsync b/bin/vdn-rsync index eb1e58f..9170e48 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" "${srcs[@]}" "$dest" + rsync "${options[@]}" -e "ssh -g -p $sshRedirPort -o StrictHostKeyChecking=no" "${srcs[@]}" "$dest" else rsync "${options[@]}" "${srcs[@]}" "${dest[@]}" fi