[CentOS] Setting up rsync

Sat Jan 6 05:02:12 UTC 2007
John R Pierce <pierce at hogranch.com>

Todd Cary wrote:
> About a year and a half ago, someone answered a request on how to set 
> up rsync so that the encryption was automatically setup (wish I knew 
> more about the technical aspects).  It has been in use for the time 
> since then and it has been great.  Now I have to replace the 
> destination computer and setting up, what I call the encryption part, 
> is the part I have forgotten how to do.  This is the command line:
>
> /usr/bin/rsync -av -e ssh /home/ 192.168.0.22:/home/
>
> Is there anyone who can translate what I am trying to do?
>
> Todd
>

its using a ssh server, you just need to setup SSH public keys.

look up ssh-keygen.   for example (random howto found by google), 
http://kimmo.suominen.com/docs/ssh/   ... note, that you need to use a 
blank 'passphrase' if you want automatic rsync sessions to run w/o user 
intervention.