Rsync Daemon Remote Pull

Wayne Davison wayne at opencoder.net
Fri Jun 26 22:15:56 UTC 2020


On Thu, Jun 25, 2020 at 3:02 PM Chandrasekar Natarajan wrote:

> Unexpected remote arg: user at x.x.x.x:port/module
>

This means that your non-option args starts with a local arg, contains a
remote arg somewhere in the middle, and ends with either a local or remote
arg.  None of those are valid because all the source args must match in
being either local or remote.

So, you need to figure out where the local path comes from early in the
command-line.  For instance, if you copied an "--option" that has some kind
of unicode char instead of real dashes, it could look like an option but
actually be parsed as a local arg.  Or you may have some kind of alias or
script that is adding an arg early in your rsync command-line.  Be sure to
check for shell aliases, popt aliases (the ~/.popt and /etc/popt files),
and "rsync" scripts on your path.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20200626/e09c90f5/attachment.htm>


More information about the rsync mailing list