git-annex/doc/bugs/ssh_over_IPv6.mdwn

29 lines
1.4 KiB
Markdown

### Please describe the problem.
When i try to sync to my server (path in .git/config is "[fcb8:b10:1cb8:c94:58d0:2522:89f9:c89e]:/home/thomas/git/musik") the url gets messed up by annex and i get the error "git-annex: bad url ssh://[fcb8/~/b10:1cb8:c94:58d0:2522:89f9:c89e]:/home/thomas/git/musik".
### What steps will reproduce the problem?
1. init git & annex
2. add files
3. add a IPv6 address remote
4. push git branches
5. git annex sync
### What version of git-annex are you using? On what operating system?
```
git-annex version: 5.20140412ubuntu1
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV Inotify DBus DesktopNotify XMPP DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier hook external
local repository version: 5
supported repository version: 5
upgrade supported from repository versions: 0 1 2 4
```
> [[Fixed|done]] by adding support for ipv6 addresses when git-annex
> converts a git remote loction into an url. BTW, the
> simple workaround is to give it a valid url from the beginning
> `ssh://[fcb8:b10:1cb8:c94:58d0:2522:89f9:c89e]/home/thomas/git/musik"`
>
> As to any problems using an ipv6 remote once it's set up, I've used them
> with no problems.
> --[[Joey]]