We have a number of scripts that use rsync to automate administration of a number our servers. We are adding servers that are not directly network accessible to our main admin box. That is, we have to go through an intermediate machine to reach these new machines. I've seen how you can string ssh commands together to copy commands through an intermediate machine. Does anyone know of a way to do something similar with rsync? 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? Thanks for any help you can offer. Jerry -- Jerry Neely jneely@pobox.com
> 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@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