Encryping rsync with Stunnel
(If you have logon ability to the remote host, rather
than using Stunnel you should just use SSH instead
by using 'rsync -e ssh .... '. --bri)
To: <stunnel-users@mirt.net>
Date: Sat, 1 Sep 2001 19:00:08 +0200
From: "Michal Trojnara" <Michal.Trojnara@mirt.net>
Subject: Re: Stunnel and rsync
What you want to do is to setup SSL server on 192.168.1.20
machine, port 2222:
stunnel -d 2222 -l /usr/bin/rsync -- rsync --daemon
and client on your local machine:
stunnel -c -d localhost:837 -r 192.168.1.20:2222
and then connect it with rsync:
rsync rsync://localhost/ [other parameters here]
It's a pity there's no official rsync-ssl (rsyncs?) port
to use instead of 2222. 8-)
You could use another port instead of 837 if it's already
used on your machine:
stunnel -c -d localhost:3333 -r 192.168.1.20:2222
rsync rsync://localhost:3333/ [other parameters here]
|