You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Florian Olesch <Pi...@gmx.net> on 2008/01/07 11:07:23 UTC

svn+ssh supported for ipv6 address ???

Hi,
 
I have to use the combination of svn+ssh for an ipv6 address. 

Those 3 commands are working

svn list svn+ssh://<user>@<ipv4_Address>/var/svn/depot
svn list svn://<user>@<[ipv6_Address]>/var/svn/depot
ssh ipv6_Address

but if i do a
svn list svn+ssh://username@[2001:1790:110b:570a:20c:29ff:fe62:138]/var/svn/depot
i get the failure
"No address associated with nodename"

Is ipv6 over svn+ssh supported ? 

and if yes can someone may please let me know what I am doing wrong ?

Subversion Version 1.4.3

Thanks  and Greetings,
Florian

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn+ssh supported for ipv6 address ???

Posted by Vincent Tondellier <to...@team1664.org>.
Florian Olesch wrote:

> Hi,
>  
> I have to use the combination of svn+ssh for an ipv6 address.
> 
> Those 3 commands are working
> 
> svn list svn+ssh://<user>@<ipv4_Address>/var/svn/depot
> svn list svn://<user>@<[ipv6_Address]>/var/svn/depot
> ssh ipv6_Address
> 
> but if i do a
> svn list
> svn+ssh://username@[2001:1790:110b:570a:20c:29ff:fe62:138]/var/svn/depot i
> get the failure "No address associated with nodename"
> 
> Is ipv6 over svn+ssh supported ?
> 
> and if yes can someone may please let me know what I am doing wrong ?

It seems that svn sees the '::' as the address:port separator, so you can't
use svn ls svn+ssh://username@fec1::1/... 
And if you use the '[]', then svn invoke ssh with 'ssh username@[fec1::1]',
and ssh does not like the '[]'. Since this way of writting an IPv6 address
is the recommended way, this is a bug or a limitation of openssh (ssh
already accepts this notation for port forwarding).

A workaround is adding an alias in the ~/.ssh/config file :

Host mysvnserver
        HostName fec1::1

Then you can do:
svn ls svn+ssh://username@mysvnserver/var/svn/depot

 
> Subversion Version 1.4.3
> 
> Thanks  and Greetings,
> Florian
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org