I wanted to start using rsync to mirror some our iTunes library across our computers. On the main computer, I would rsync the iTunes library to our server, and then on all the other computers, I would rsync the library back down.
I also want to run rsync on the server in daemon mode, as there are some nice configuration options to specify "modules" for the different data that I wanted to synchronize.
After looking into this, there were a few things that I didn't like with the default solution.
- I didn't want to open the rsyncd port through my firewall. (Even though I could have specified authentication crednetials.)
- If I want to use rsync's ssh support, and want to define all of the modules in /etc/rsyncd.conf, I would have to give the root user the ability to login in through ssh.
Here is how I set this up: