[CentOS] rsync and passwords

Jim Perrin jperrin at gmail.com
Sat Dec 10 17:58:18 UTC 2005


On 12/10/05, Todd Cary <todd at aristesoftware.com> wrote:
> To synchronize my server with the "standby" server, I run the following:
>
> rsync -a -e ssh /home/ 192.168.0.22:/home/
>
> As expected, I am asked for a password from the destination computer.
> Is there a way to avoid that so I can make a crontab to run the rsync
> nightly?
>
> Todd

Set up ssh keys.


--
Jim Perrin
System Architect - UIT
Ft Gordon & US Army Signal Center



More information about the CentOS mailing list