rsync question

Hi all,

I am trying to use rsync to mirror a web site between 2 servers. It works great so far.

I use the following command to mirror the web site.

rsync -e ssh -avz --delete user@host:/sourcedir /densir

It asks me the remote server password every time.

Does anybody know how can I rsync without manually enter remote server password? Becasue I want to rsync through crontab. Crontab won't let you manually enter remote server password.

Thanks for any help.

 

 

 

 

Top