Add StrictHostKeyChecking=no

This commit is contained in:
2023-03-13 10:53:06 +01:00
parent 85e709ee32
commit 33fc5e8c6a

View File

@@ -44,7 +44,7 @@ done
if [[ $guest ]]; then if [[ $guest ]]; then
determine_redir_port 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 else
rsync "${options[@]}" "${srcs[@]}" "${dest[@]}" rsync "${options[@]}" "${srcs[@]}" "${dest[@]}"
fi fi