Koozali.org: home of the SME Server

Secure Tunnel for rsync

Robbie

Secure Tunnel for rsync
« on: April 09, 2003, 06:42:26 AM »
I am trying to use stunnel to secure an rsync connection between my SME 5.6 box and another server for backup purposes. Rsync works perfect, but I encounter problems when I try to secure the connection with stunnel.

The following commands are what I am executing:

stunnel -c -d localhost:2000 -r remotehost:5000

rsync -r -v -z /home/e-smith/files/ibays/ john@localhost::remotehost --port=2000

The following is the error that I receive:

rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(163)

If anyone could give me any suggestions I would greatly appreciate it.

Robbie

Re: Secure Tunnel for rsync
« Reply #1 on: April 15, 2003, 06:44:51 AM »
Does anyone have any suggestions on this topic?

evilghost

Re: Secure Tunnel for rsync
« Reply #2 on: April 15, 2003, 08:14:48 AM »
Force protocol version 2, I get CRC errors sometimes when using protocol 1.

Robbie

Re: Secure Tunnel for rsync
« Reply #3 on: April 15, 2003, 08:51:46 AM »
What command do I use to force protocol version 2?

Thanks in advance for your help.

Robbie

Re: Secure Tunnel for rsync
« Reply #4 on: May 17, 2003, 07:26:23 AM »
Can anyone help me with this problem?