On 30 Jul 2002, Jochen K?chelin <[EMAIL PROTECTED]> wrote:
> How can I use the --password-file switch with rsync in order not to
> be promted for the users password so I can run rsync in a cronjob?
> 
> rsync -uavrpog -e ssh /www [EMAIL PROTECTED]:/DESTINATION/`date +%A`
> --password-file=/quellen/RSYNC_PASSWD
> 
> does not work!
> 
> I always get a prompt to enter users root password!

The --password-file option only applies to rsync daemon connections, not 
ssh.  You need to set up an ssh key to make ssh connections with no
password; see the recent thread or the ssh manual for instructions.

-- 
Martin

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to