[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: Vincent Tondellier <tonton-lists_at_team1664.org>
Date: Sun, 20 Jan 2008 18:12:01 +0100

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_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-20 18:12:37 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.