summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2016-02-01 21:08:39 +0000
committerPeter Palfrader <peter@palfrader.org>2016-02-01 21:08:39 +0000
commitf79e3a2077f60fb979d62299351187a6a91ca92a (patch)
tree8e67fd36d52a26d45a7850c542d16ef33860770e /etc
parent9c292f48d4c4a28085684bb990a744590d807ec1 (diff)
Add experimental rsync over SSL (stunnel) support
Diffstat (limited to 'etc')
-rw-r--r--etc/ftpsync.conf.sample9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/ftpsync.conf.sample b/etc/ftpsync.conf.sample
index bcefbb6..d58fbaf 100644
--- a/etc/ftpsync.conf.sample
+++ b/etc/ftpsync.conf.sample
@@ -31,6 +31,15 @@
## If we need a user we also need a password
#RSYNC_PASSWORD=
+## Set to "true" to tunnel your rsync through stunnel. Requires that stunnel4 be
+## available in PATH. ftpsync will then create an stunnel config file and use
+## rsync's -e to connect to RSYNC_SSL_PORT on the remote site. (This requires
+## server support, obviously.) The presented certificate is checked by stunnel
+## against the certificate authorities in RSYNC_SSL_CAPATH.
+#RSYNC_SSL=false
+#RSYNC_SSL_PORT=1873
+#RSYNC_SSL_CAPATH=/etc/ssl/certs
+
## In which directory should logfiles end up
## Note that BASEDIR defaults to $HOME, but can be set before calling the
## ftpsync script to any value you want (for example using pam_env)