Use $__remote_exec and thus the ssh multiplexing
This commit is contained in:
parent
1bb696a410
commit
2db40d8d70
1 changed files with 1 additions and 0 deletions
|
@ -36,4 +36,5 @@ fi
|
|||
|
||||
echo rsync -a \
|
||||
--no-owner --no-group \
|
||||
-e "$__remote_exec" \
|
||||
-q "$@" "${source}/" "${remote_user}@${__target_host}:${destination}"
|
||||
|
|
Loading…
Reference in a new issue