>>>>> " " == 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).

MfG
        Goswin

PS: "rsync -vra server.name.com:/this/path/docs /this/path/docs"
should work provided you tell cron to use the same user locally as it
needs on the server.

Reply via email to