On Thu, Jun 26, 2025 at 5:21 PM Robert Moskowitz via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > I *AM* running rsyncd on the target server. > > If I provide: > > rsync -ah --stats /home/rgm/r/ rsync://rgm@homestor/rgm/r/ > > I get prompted for the password in the /etc/rsyncd.secrets file, and it > works. > > I now create a local file ~/rsync.pswd with chmod 440, and run: > > rsync -ah --password-file=/home/rgm/rsync.pswd --stats /home/rgm/r/ > rsync://rgm@homestor/rgm/r/ > > it fails with: > > @ERROR: auth failed on module rgm > rsync error: error starting client-server protocol (code 5) at > main.c(1850) [sender=3.4.1] > > rsync.pswd format is: > > rgm:password > > where password is what is in the server's rsyncd.secrets and what I > provided to the interactive prompt. > > What am I missing here? Form rsync(1) man page: --password-file This option allows you to provide a password in a file for accessing an rsync daemon. The file must not be world readable. It should contain just the password as a single line. Jeff -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue