How to define an ssh tunnel to transfer rsync binaries?
Hey Guys,
I have 3 RHEL servers.
A=138.35.12.107
B(in the middle)=138.35.17.140
C(in customers network)=10.253.24.71
My question is :
I need to use rsync to copy data from A,but C cannot reach A directly.I have to define an ssh tunnel.A & C have rsync installed.A is listening on port 873 for rsync.B can telnet A using port 873 without a problem.
All modules that need to be synced from A are defined under A`s /etc/rsync.conf file.
How should I define the tunnel on B so that every request received on port:X gets forwarded to 873 on A.
Thanks in advance!
|