Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Robbie on April 09, 2003, 06:42:26 AM

Title: Secure Tunnel for rsync
Post by: Robbie 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.
Title: Re: Secure Tunnel for rsync
Post by: Robbie on April 15, 2003, 06:44:51 AM
Does anyone have any suggestions on this topic?
Title: Re: Secure Tunnel for rsync
Post by: evilghost on April 15, 2003, 08:14:48 AM
Force protocol version 2, I get CRC errors sometimes when using protocol 1.
Title: Re: Secure Tunnel for rsync
Post by: Robbie on April 15, 2003, 08:51:46 AM
What command do I use to force protocol version 2?

Thanks in advance for your help.
Title: Re: Secure Tunnel for rsync
Post by: Robbie on May 17, 2003, 07:26:23 AM
Can anyone help me with this problem?