RSync + SSH tunneling through firewall

Andrzej Filip anfi at priv.onet.pl
Tue Sep 7 21:39:36 GMT 2004


Stefaan Lhermitte wrote:
> I'm trying to rsync my labtop pc (let's assume A-computer) with my 
> desktop pc (let's assume C-computer) through our firewall.
> In between there is one computer (let's assume B-computer) that has an 
> open port, so I theoretically could connect via a tunnel.
> I checked the SSH- website and internet and so on but did not find an 
> answer that works.
> 
> I tried the solution I found on the net:
> When I run ssh -v -L 873:C-computer:873 myname at B-computer and get 
> connected to B-computer without any problems.
> 
> When I subsequently run in a new window:
> rsync -v /cygdrive/d/folder/ 127.0.0.1:: cygdrive/folder
> I get the following error:  Connection reset by peer.
> In the tunneling window teh following error appears: administrativetly 
> prohibited: open failed

Can you telnet port 873 on C from B ?
[ Is rsync daemon listening on C ? ]

> I'm kind of new in the SSH-RSYNC world and don't know how to solve the 
> problem.
> I assume it is an SSH problem since the problem persist when I run:  ssh 
> myname at localhost -p 873.

-- 
Andrzej [en:Andrew] Adam Filip anfi at priv.onet.pl anfi at xl.wp.pl
Home Page http://anfi.homeunix.net/ [ PageRank 6 ]


More information about the rsync mailing list