- Code: Select all
rsync --delete --password-file /home/media/Pobrane/pass1 -avrt root@example.synology.me::LAMIA /home/media/disk-1/TMP
I can login to Synology over SSH without problems. I use port 666 instead 22.
But when I try to run rsync over SSH client on M% it returns me an syntax error. I googled a lot but I dont know what I am doing wrong. Any help? Below command I use and output:
- Code: Select all
[root@mackowiak Pobrane]# rsync --delete -vratx "ssh -x -p 666 -i /home/media/.ssh/id_media" root@example.synology.me:LAMIA /home/media/disk-1/TMP
Unexpected remote arg: root@example.synology.me:LAMIA
rsync error: syntax or usage error (code 1) at main.c(1330) [sender=3.1.1]
Any help?