rsync through intermediate server

Francis Montagnac Francis.Montagnac at sophia.inria.fr
Wed May 14 02:26:54 EST 2003


> That is, how can I rsync files to/from machine A to C through machine
> B without having to perform an intermediate step on B?
 
Use something like this perhaps (from machine A):

  rsync --rsh='rsh B rsh' <files> C:<dir>

But you may need to write a real wrapper to feed any option (like -l)
that rsync may want to give to rsh according to your setup.

-- 
Francis.Montagnac at sophia.inria.fr, Tel: (33) 04 92 38 79 11, Bur: C112
INRIA Sophia, 2004, rte des Lucioles, B.P.93 - 06902 Sophia Antipolis Cedex


More information about the rsync mailing list