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

Re: [Subclipse-users] Subclipse with SSH Tunnel

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-11-04 17:34:18 CET

On 11/4/07, pmartin <pmartin@ece.gatech.edu> wrote:

> My svn server is located within another network at school, so I access it
> from a machine in the network (login-machine), and use this command to setup
> the tunnel:
> "ssh -l <username> -L 7777:<svn-server>:22 <username>@<login-machine> cat -"
> I made an ssh config file that looks like:
> host svn-server
> Hostname localhost
> Port 7777
> ForwardAgent no
> ForwardX11 no
> Then, I can checkout via command line with:
> "svn co svn+ssh://<username>@svn-server/<path-to-trunk> ."
> This works great; however, in Subclipse I cannot get it to work. I use
> SVNKit as the preferred interface, and after entering login information,
> etc. it fails and says:
> "svn: Cannot connect to 'svn+ssh://<username>@svn-server': There was a
> problem while connecting to svn-server:22"
> I also tried to have it connect to port 7777, which what I have my local
> machine using for tunneling, and that fails with the same error. Has anyone
> tried to configure Subclipse to work with a setup like this?

Did you try specifying localhost:7777 ? SVNKit uses its own pure Java
SSH client so it would not be aware of any other configuration you

If the command line works, I'd suggest using JavaHL as it will use the
same SSH client as the command line. If you use ssh-agent to manage
your passwords it works better. Otherwise, you need to start Eclipse
from a console so that the SSH authentication prompts are accessible.
That is the advantage to using SVNKit.

Mark Phippard
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sun Nov 4 17:34:25 2007

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.