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.