LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2012, 05:18 AM   #1
dann_radkov
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
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!
 
Old 07-18-2012, 05:35 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,457

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync via reverse ssh tunnel dexznrl Linux - Software 1 02-08-2011 08:38 AM
rsync server backup through ssh tunnel issue vidhut Linux - Networking 1 01-06-2009 03:53 AM
Rsync error cannot do ssh and transfer file linuxbee1 Linux - Newbie 13 06-23-2008 04:41 PM
Rsync through a VPN/SSH tunnel... Akonbobot Linux - Desktop 1 10-10-2006 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration