On Mon, 2009-02-09 at 07:57 +1100, Tyson & Dina Patricia Ackland wrote: > I have installed rsync on my Windows and Linux PCs. I would like to > use it to copy a folder from Windows to Linux on a regular basis as > part of my backup regime. It works but always prompts me for a > password. Is there any way to make Windows pass authentication > automatically so that I can batch this process?
Yes; it depends on what kind of password you are being prompted for. If it's an ssh password (with a destination of the form HOST:PATH), set up an authorized key as described in the "Authentication" section of the ssh(1) man page. If it's an rsync daemon password (with a destination like HOST::MODULE/PATH or rsync://HOST/MODULE/PATH), put the password in a file on the client and specify that file to rsync with the --password-file option. -- Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html