Add $SSH_OPTS
This commit is contained in:
1 parent
6a55b58ffc
commit
b9803f47b1
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user