I want to tar to a remote host using the remote host's IPv6 address. I can ssh and scp to the host but GNU tar does not accept the IPv6 address.
I tried:
tar -cjvf root@2001:DB8::1234:5678:/backup.tar.bz2 *
and
tar -cjvf root@[2001:DB8::1234:5678]:/backup.tar.bz2 *
and
tar -cjvf root@\[2001:DB8::1234:5678\]:/backup.tar.bz2 *
but none of these work. All of these give address errors from tar. My Ubuntu system has tar version 1.25-3.

--rsh-command=/path/to/ssh, which is vaguely hinted at linux.die.net/man/1/tar . – Stefan Lasiewski Jul 26 '12 at 1:22