[arekm@tarm ~]$ rsync --version rsync version 3.0.5 protocol version 30 Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv, symtimes rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. [arekm@tarm ~]$ rsync -avP "arekm@[2001:6a0:13f:1::1]:ble" . ssh: Could not resolve hostname [2001: Name or service not known rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.5] [arekm@tarm ~]$ rsync -avP -e ssh "arekm@[2001:6a0:13f:1::1]:ble" . ssh: Could not resolve hostname [2001: Name or service not known rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(600)[receiver=3.0.5] [arekm@tarm ~]$ rsync -avP rsync://arekm@[2001:6a0:13f:1::1]:ble . rsync: getaddrinfo: [2001 6: Name or service not known rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5] ps. version form in bugzilla doesn't contain released 3.0.5 version
My new hostspec parsing code fixes this. It's checked in to the master and b3.0.x branches in git. http://git.samba.org/?p=rsync.git;a=summary