rsync and tunneling via ssh
duquesnoy at ifao.net
Thu Aug 26 15:14:53 GMT 2004
I have setup a rsync server with a rsync running as a deamon, due to security
rules I cannot open the rsync standard port (873) in the firewall.
We have to tunnel rsync through ssh.
On the client side, which is linux kernel 2.4 I have made the following script,
ssh -i /home/ifao/bin/traveltest -f -C -L 2211:cib.ifao.net:8730
cytric at localhost sleep 1000
rsync -auz --password-file=rsync.cib --delete
But when running it, I get the following message:
channel 2: open failed: connect failed: Connection refused
What have I done wrong? I already have gone through much of the mailing list,
gathering information from the previous postings, but nothing could solve this
problem up to now.
Anybody having an idea what might be wrong or needs to be done differently?
Thanks in advance,
More information about the rsync