On Tue, Jan 16, 2001 at 03:30:36AM +0100, Goswin Brederlow wrote:
> >>>>> " " == Ralph Brown <[EMAIL PROTECTED]> writes:
> 
>      > I am trying to configure rsync to make a backup mirror copy of
>      > the production website onto my development machine. the problem
>      > i am having is how to point rsync to my password file.
> 
>      > password file path;
> 
>      >  /this/path/password (chmod 640)
> 
>      > the command i am using;
> 
>      >  rsync --password-file /web/www/password -e ssh -vra
>      > [EMAIL PROTECTED]:/this/path/docs /this/path/docs
> 
>      > i keep getting prompted for the password.
> 
> Use ssh-keygen to generate a key pair and put the public key into
> ~/.ssh/authorised_keys on the server. (Don't use a passphrase).


Yes, because rsync's --password-file does not apply when using -e ssh:  it
is only for when a password is needed when communicating directly with a
remote rsync daemon (that is, using the "::" or rsync:// syntax).  As
Goswin implied, you need to use one of the ssh password-less authentication
mechanisms.

- Dave Dykstra

Reply via email to