diff options
| author | Steph Enders <steph@senders.io> | 2025-12-14 00:44:17 -0500 |
|---|---|---|
| committer | Steph Enders <steph@senders.io> | 2025-12-14 00:44:53 -0500 |
| commit | cd09cac9defdc263605a54bd80dc2af0af0955b6 (patch) | |
| tree | 064e5710f771eb893e2885f483d710c4f1d98a1a /ssync-fetch | |
| parent | a1fa1e686ab40dbda11c34fd0446c10e733b3e10 (diff) | |
Use KEY_FILE in rsync backend in ssync-fetch
Diffstat (limited to 'ssync-fetch')
| -rwxr-xr-x | ssync-fetch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ssync-fetch b/ssync-fetch index e46c241..4b91a2e 100755 --- a/ssync-fetch +++ b/ssync-fetch @@ -132,7 +132,9 @@ elif [ "$BACKEND" = "rsync" ]; then verbose_log "Fetching files from queue file: $QUEUE_FILE" verbose_log "Beginning download" verbose_log "rsync --files-from=${QUEUE_FILE} rsync://${REMOTE_HOST_ARG} ${real_dest}" - rsync -av --no-relative --files-from=${QUEUE_FILE} ${REMOTE_HOST_ARG}:/ ${real_dest} + rsync -e "ssh ${ssh_id_param}" \ + -av --no-relative \ + --files-from=${QUEUE_FILE} ${REMOTE_HOST_ARG}:/ ${real_dest} fi verbose_log "ssync-fetch finished" |