without passwd

Benjamin Schweizer 2008 at benjamin-schweizer.de
Mon Sep 22 13:04:02 GMT 2008


Hi Rajiv,

from rsync(1):
| Some  paths  on the remote server may require authentication. If so then
| you will receive a password prompt when you connect. You can avoid the
| password prompt by setting the environment  variable RSYNC_PASSWORD to
| the password you want to use or using the --password-file option. This
| may be useful when scripting rsync. 


Cheers

On Sat, Sep 20, 2008 at 12:49:08PM +0530, Rajiv Nair wrote:
> Hi, I have two Fedora box and rsync running on both systems.  One system ip
> is 192.168.1.110 and the other is 192.168.1.71.  I run manually for the
> following commands in both systems.  my problem is whenever run it asking
> the user passwd and i cannot run the same automatically using crontab.  My
> question is how to avoid the passwd option...
> 
>  rsync -aPrv rsync://192.168.1.110/detailing/ /data/backup/detailing
> 
> 192.168.1.110 is my local fedora box and /data/backup/detailing is another
> local fedora box...
> 
> Please help to get rid of passwd.
> 
> Rajiv.

> -- 
> 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

-- 
http://benjamin-schweizer.de/contact


More information about the rsync mailing list