rsync via tunnel - 3 boxes separated by internet
Wayne Davison
wayned at samba.org
Sun May 15 22:39:52 GMT 2005
On Sun, May 15, 2005 at 02:33:15PM -0500, Jay Strauss wrote:
> BoxA --internet-- BoxB (accessable only by ssh) -- BoxC
What about this?
rsync -av --rsync-path="ssh BoxC rsync" BoxB:/source/ /dest/
This command looks like it is copying a file from BoxB, but the remote
command run on BoxB to start rsync really contacts BoxC and runs the
remote rsync there, so "/source/" is coming from BoxC.
..wayne..
More information about the rsync
mailing list