I am trying to access a git respository at a IPv6 address that has a SSH server listening on port 1111(for example).
Access is controlled by SSH key and I can open a SSH session on the gitserver using
ssh git@<IPv6-address> -p 1111
(Yes, I understand that git should not get a shell, but please disregard that)
I can access the repository using IPv4 like this :
git clone git@<IPv4-address>:1111/git/tarn.git
But the IPv6 version does not work.
git clone git@<IPv6-address>:1111/git/tarn.git
Cloning into 'tarn'...
ssh: connect to host <IPv6 address> port 22: No route to host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
What do I need here?
git clone 'foo@[::1]:4711/this/that.git'
, but I don't have a setup here to verify. Remember the shell may have ideas about what[]
means if you don't quote it.FE80
) or a globally routable address (beginning with2
)? Can you ping the address?scope global dynamic noprefixroute
scp
supports it) bugzilla.mindrot.org/show_bug.cgi?id=1602