rsync to DSM results "Permission denied, please try again."

Can't rsync to DSM!

$ rsync -avz mystuff admin@onehost.onedomain.org:/volume1/MyShare/
Permission denied, please try again.
rsync error: rsync service is no running (code 43) at io.c(687) [sender=3.0.9]

Even ssh will result an error:
$ ssh admin@onehost.onedomain.org rsync
Permission denied, please try again.

Solution

$ rsync -avz -e ssh --rsync-path=/usr/bin/rsync \
       mystuff admin@onehost.onedomain.org:/volume1/MyShare/

The --rsync parameter is the key.

Older versions of DSM, rsync resides in /usr/syno/bin/, so use --rsync-path=/usr/syno/bin/rsync instead.


Comments

Popular posts from this blog

DELL U4320Q ddccontrol in Linux switch input

UEFI boot.