On Fri, May 10, 2002 at 12:50:59PM -0700, Wayne Davison wrote: > On Fri, 10 May 2002, terrell Larson wrote: > > The [option-specifying form] of the -e option is not documented. > > IMHO it should be. > > I agree. I've whipped up the following patch for rsync.yo, which I > will commit to CVS in a moment: > > Index: rsync.yo > --- rsync.yo 2002/05/09 21:44:46 1.99 > +++ rsync.yo 2002/05/10 19:47:05 > @@ -515,6 +515,13 @@ > remote copies of rsync. Typically, rsync is configured to use rsh by > default, but you may prefer to use ssh because of its high security. > > +Feel free to include options in the COMMAND. For instance: > + > +quote(-e "ssh -1 -l joe") > + > +(Note that ssh users can alternately store off site-specific connect > +options in their .ssh/config file.) > + > You can also choose the remote shell program using the RSYNC_RSH > environment variable. >
I concur about the current manpage but the patch is perhaps a little to chatty for me. Also the example is an odd one. Perhaps something more like +Command-line arguments are permitted in COMMAND provided +that COMMAND is presented to rsync as a single argument. +Quotes may be used to preserve whitespace. For example: + +quote(-e "ssh -p 2234") + You can also choose the remote shell program using the RSYNC_RSH -environment variable. +environment variable which also allows command-line arguments. This example shows the use of the ssh option i suspect is most likely to be wanted. P.S. What is the -1 option? Is it part of the comercial ssh? -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html