rsync problem & solution

For rrsync (i.e. restricted rsync) to work, the remote user must have a proper login shell specified (i.e. not /bin/false).

Otherwise you will get such cryptic error messages as:

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.1]