rsync password problem

Matt McCutchen hashproduct+rsync at
Mon Oct 9 09:54:30 GMT 2006

On 10/9/06, olcaya at <olcaya at> wrote:
> I am using rsync with --password-file=passw option.
> And I have set the passwod of the remote machine in the passw file
> But it stilll asks me password.
> How can I avoid this?

Are you using SSH?  --password-file can only be used to supply a
password for an rsync daemon, not for SSH.  To get SSH to log you in
without a password, you need to generate a key that has no passphrase
with ssh-keygen and authorize it for login to the remote machine.


More information about the rsync mailing list