restricting rsync over ssh

Dave Dykstra dwd at
Fri Jun 7 14:20:02 EST 2002

On Fri, Jun 07, 2002 at 11:09:58AM -0700, Mike Rubel wrote:
> > Somewhat belatedly, I can report that I use rysnc in daemon mode in
> > conjunction with an SSH tunnel, but using remote port forwarding. I
> > use the method to distribute password and shadow files.
> It seemed like this ought to be possible.
> So, out of curiousity, why does rsync include a "-e ssh" option at all?
> Wouldn't it be simpler to pick one protocol (rsync)  and let the user
> tunnel it over his or her favorite encrypted transport?

For one thing, -e ssh came first.  Secondly, it's also a lot simpler to use
than to set up port forwarding to an rsync daemon.  That's also why I think
JD Paul's patch to have ssh directly run rsync --daemon is important.

- Dave

More information about the rsync mailing list