Hi, I have searched the archived, and see this question has come up with some frequency, but the solution by the original poster is never posted or the question is not answered completely. I have also RTFM (rsync and ssh), and I've been trying examples that I have googled. So here it is again. BoxA --internet-- BoxB (accessable only by ssh) -- BoxC I want to backup BoxC to BoxA. I want the process to originate on BoxA, That is I want BoxA to be the backup server, the files are stored on BoxA, and the process of backing up is lauched on BoxA. I have successfully done it like: BoxA#: ssh -N -L 873:IP_BoxC:873 BoxB rsync -arv localhost::ftp/jstrauss ./jay Where I have rsyncd running on BoxC Questions: 1) Is there a way to do this without setting up an rsyncd on the target box? Thanks Jay
Jay Strauss wrote...> Questions: > > 1) Is there a way to do this without setting up an rsyncd on the target box?You could tunnel ssh-over-ssh instead of rsync-over-ssh. Pitfalls: - tcp-over-tcp considered harmful, so do this on the more reliable link. - ssh will give LOUD warnings about changed host keys. Christoph
On Sun, May 15, 2005 at 02:33:15PM -0500, Jay Strauss wrote:> BoxA --internet-- BoxB (accessable only by ssh) -- BoxCWhat 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..
Jay Strauss
2005-May-17 02:49 UTC
rsync via tunnel - 3 boxes separated by internet [solved]
Wayne Davison wrote:> On Sun, May 15, 2005 at 08:44:53PM -0500, Jay Strauss wrote: > >>Do you maintain the FAQ? I'll write up something if you want > > > That would be nice. I can put the result onto the rsync website. > > ..wayne.. >Hey Wayne, did you get my email with the write up? I've been getting a whole bunch of funny emails and bounces from samba.org, so I'm not sure my email made it to you Thanks Jay