|
NAMErsync-ssl - a helper script for connecting to an ssl rsync daemonSYNOPSISrsync-ssl [--type=SSL_TYPE] RSYNC_ARGS DESCRIPTIONThe rsync-ssl script helps you to run an rsync copy to/from an rsync daemon that requires ssl connections.The script requires that you specify an rsync-daemon arg in the style of either hostname:: (with 2 colons) or rsync://hostname/. The default port used for connecting is 874 (one higher than the normal 873) unless overridden in the environment. You can specify an overriding port via --port or by including it in the normal spot in the URL format, though both of those require your rsync version to be at least 3.2.0. OPTIONSIf the first arg is a --type=SSL_TYPE option, the script will only use that particular program to open an ssl connection instead of trying to find an openssl or stunnel executable via a simple heuristic (assuming that the RSYNC_SSL_TYPE environment variable is not set as well -- see below). This option must specify one of openssl or stunnel. The equal sign is required for this particular option.All the other options are passed through to the rsync command, so consult the rsync(1) manpage for more information on how it works. ENVIRONMENT VARIABLESThe ssl helper scripts are affected by the following environment variables:
EXAMPLESrsync-ssl -aiv example.com::mod/ dest rsync-ssl --type=openssl -aiv example.com::mod/ dest rsync-ssl -aiv --port 9874 example.com::mod/ dest rsync-ssl -aiv rsync://example.com:9874/mod/ dest SEE ALSOrsync(1), rsyncd.conf(5)CAVEATSNote that using an stunnel connection requires at least version 4 of stunnel, which should be the case on modern systems. Also, it does not verify a connection against the CA certificate collection, so it only encrypts the connection without any cert validation unless you have specified the certificate environment options.This script also supports a --type=gnutls option, but at the time of this release the gnutls-cli command was dropping output, making it unusable. If that bug has been fixed in your version, feel free to put gnutls into an exported RSYNC_SSL_TYPE environment variable to make its use the default. BUGSPlease report bugs! See the web site at https://rsync.samba.org/.VERSIONThis man page is current for version 3.2.3 of rsync.CREDITSrsync is distributed under the GNU General Public License. See the file COPYING for details.A web site is available at https://rsync.samba.org/. The site includes an FAQ-O-Matic which may cover questions unanswered by this manual page. AUTHORThis manpage was written by Wayne Davison.Mailing lists for support and development are available at https://lists.samba.org/.
Visit the GSP FreeBSD Man Page Interface. |