Rsync'ing via ssh (p. 2)

There's a simpler way (however, it leaves the rsyncd daemon running on the host):

  1. in rsyncd.conf:
    1. hosts deny = 0.0.0.0/0
    2. hosts allow = localhost
  2. from the client:
    1. ssh -L <some_local_port>:localhost:873 remote_host
    2. rsync <options> rsync://localhost:<some_local_port>