File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / rsync-ssl.in
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 14 07:51:14 2013 UTC (10 years, 7 months ago) by misho
Branches: rsync, MAIN
CVS tags: v3_1_2p5, RSYNC3_1_0, HEAD
v 3.1.0

#!/bin/bash
# This script supports using stunnel to secure an rsync daemon connection.
# Note that this requires at least version 4.x of stunnel.
case "$@" in
*rsync://*) ;;
*::*) ;;
*)
    echo "You must use rsync-ssl with a daemon-style hostname." 0>&1
    exit 1
    ;;
esac
exec @bindir@/rsync --rsh=@bindir@/stunnel-rsync "${@}"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>