[CentOS] rsync question

Thu Sep 10 18:23:33 UTC 2015
C Linus Hicks <linush at verizon.net>

 On 09/10/15, Robert Moskowitz wrote:
---------------- Quoted text ------------------------
I just tried the following:

rsync -ah --stats "ssh -p613 -l root" 

And it failed with:

Unexpected remote arg:
rsync error: syntax or usage error (code 1) at main.c(1330) [sender=3.1.1]

I tried again with:

rsync -ah --stats -e "ssh -p613 -l root" 

and it worked. This is what I read from the manpage, that "-e" is 
needed for the ssh command.

--------------------- End Quote ----------------------------------

Try this:
rsync -ah --stats