when rsync is called with -4 or -6, pass that on to ssh [PATCH]

Wayne Davison wayned at samba.org
Wed Mar 5 01:29:00 GMT 2008


On Tue, Mar 04, 2008 at 07:07:07PM +0100, Paul Slootman wrote:
> If rsync is called with -4 or -6, that option is currently ignored when
> ssh is used as the transport.

That's because those options are only used when opening a socket.  The
user should configure ssh on their own.  I'd suggest that they use the
~/.ssh/config file to set such options for particular hosts and/or all
hosts.  I may add some code to ssh to warn and continue if -4 or -6 is
used with an external shell transport (to let the user know that it is
meaningless).

..wayne..


More information about the rsync mailing list