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

[Subclipse-users] Subclipse with netcat path

From: Daniel Valim Liberman <danielvl_at_gmail.com>
Date: Wed, 12 Nov 2008 17:42:59 -0200

Hi everyone,

  We have a subversion repository for our source code at work, and we use
svn+ssh:// to work remotely with it. From outside our netork (e.g, working
from home), we don't have a vpn already set up at our servers, and the SVN
repository is not on a machine that is accessible from outside.
  For that, we use another server to give us access to the internal network.
So, basically:

{{internet}} <---> [*public_access_server*] <---> [internal LAN, including
svn repository]

  Well, to connect in an easier way to any computer at our LAN we configure
an automatic netcat path on our machines at home (outside our LAN) to ssh
directly the internal machines, through the *public_access_server*.
Something like:

$> cat ~/.ssh/config
Host *.*internal.ourdomain.com*
    KeepAlive yes
    ProxyCommand ssh -t *public_access_server*.*public.ourdomain.com*
'/bin/netcat -w 2 %h 22'

  It works perfectly when, on a shell on my Ubuntu (Hardy), I execute:

svn co svn+ssh://svnrepo.*internal.ourdomain.com*/<repositorypath>

  ... or any other svn commands. So, my client on Ubuntu uses the same
settings as the ssh client, using my ~/.ssh/config file to "establish the
path". BUT, subclipse (1.2 and 1.4, on Eclipse 3.2.2) can't find my svnrepo.
*internal.ourdomain.com* so it doesn't work, it looks like it's trying to
access it fist an not trying thru svn+ssh, as it should (or at least as the
default svn client on my Ubuntu does). The message on my Eclipse console is
something like:

svn: Cannot connect to 'svn+ssh://svnrepo.internal.ourdomain.com': There was
a problem while connecting to svnrepo.internal.ourdomain.com:22
Connection refused

  Does anyone think it could be fixed? Or... if it should work, how can I
set this up correctly? I tried to use JavaHL and SVNKit, none of them seems
to work.

Regards,
Daniel.
Received on 2008-11-12 20:43:09 CET

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

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