Heya,
Our network is set up as follows:
A -> B -> C
I have a need to keep filesystems on A and C in sync. There's a firewall
between A and B, and another one between B and C. There is no SOCKS and
all connections must be initiated in the direction of the arrows shown, in
keeping with corporate security policies.
I can probably get my firewall admins to open up port 22 for ssh, after a
lot of wrangling, and most likely, no other ports. How do I
recursively tunnel from A to B and then B to C for rsync? Using B as an
intermediate storage area is not an option.
In other words, I'd like to rsync over two consecutive ssh tunnels (X11
forwarding works without any problems over 2 tunnels). How can I
accomplish this? Thanks!
- Mandar