Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've been having difficulty with connecting to my IPv6 address via rsync. Because the argument for the destination folder is colon-separated, the IPv6 address disrupts this like so:

root@fdff::ffff:ffff:ffff:/path/to/dest

How do I use rsync with an IPv6 address via SSH?

share|improve this question

2 Answers 2

up vote 10 down vote accepted

You'll want to wrap the address in brackets like so:

rsync -rtlzv -e ssh /path/to/src '[root@fdff:ffff:ffff:ffff]':/path/to/dest
share|improve this answer

Try placing the IPv6 address in brackets, like this:

root@[2001:db8:1234:5678:feed:face:dead:beef]:/path
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.