From 0542ecb23d94a4804162e395541c663bdc59082a Mon Sep 17 00:00:00 2001 From: bescoto Date: Sun, 28 Sep 2003 04:39:13 +0000 Subject: Updated man page with remote schema git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@457 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff-backup.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rdiff-backup/rdiff-backup.1 b/rdiff-backup/rdiff-backup.1 index 1989473..9552f59 100644 --- a/rdiff-backup/rdiff-backup.1 +++ b/rdiff-backup/rdiff-backup.1 @@ -485,10 +485,10 @@ splits the filename into host_info::pathname. It then substitutes host_info into the remote schema, and runs the resulting command, reading its input and output. .PP -The default remote schema is 'ssh %s rdiff-backup --server' meaning if -the host_info is user@host.net, then rdiff-backup runs 'ssh -user@host.net rdiff-backup --server'. The '%s' keyword is substituted -with the host_info. Using --remote-schema, rdiff-backup can invoke an +The default remote schema is 'ssh -C %s rdiff-backup --server' where +host_info is substituted for '%s'. So if the host_info is +user@host.net, then rdiff-backup runs 'ssh user@host.net rdiff-backup +--server'. Using --remote-schema, rdiff-backup can invoke an arbitrary command in order to open up a remote pipe. For instance, .RS rdiff-backup --remote-schema 'cd /usr; %s' foo 'rdiff-backup -- cgit v1.2.1