LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to define an ssh tunnel to transfer rsync binaries? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-define-an-ssh-tunnel-to-transfer-rsync-binaries-4175417355/)

dann_radkov 07-18-2012 05:18 AM

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!

pan64 07-18-2012 05:35 AM

probably you can find a solution here: http://www.debianadmin.com/howto-use...orwarding.html


All times are GMT -5. The time now is 04:39 PM.