• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: August 15th, 2023

help-circle


  • Given that you can already use rsync over ssh, I suspect you want to allow the rsync configuation options on the server side, but still use ssh to secure the transit. I would do it like this:

    • Configure rsync on receiving server to listen only on 127.0.0.1 (localhost).
    • Use ssh to create a tunneled port between your sender and receiving rsync server.
    • Rsync on the sender to [rsync defined user@]localhost:port (whichever port you set the tunnel up on) as your target.

    That would encrypt the traffic over your ssh tunnel, but still allow you to use the receiver’s rsyncd paths.