-4 / -ipv4 doesn't work

Matt McCutchen matt at mattmccutchen.net
Fri May 30 12:15:21 GMT 2008


On Fri, 2008-05-30 at 12:20 +0200, Gijs Molenaar wrote:
> I try to connect to a host that has IPv4 and IPv6, but IPv6 is currently
> blocked by ACL's. My host also has IPv6 and IPv4. When I pass the -4 or
> --ipv4 option to rsync, it doesn't pass it to ssh: [...]

Currently, options like -4 only affect network connections made by rsync
itself (i.e., directly to a daemon), so you should pass the option to
ssh by either passing -e "ssh -4" to rsync or specifying it for the
appropriate host in your ~/.ssh/config .

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080530/a08a3aab/attachment.bin


More information about the rsync mailing list