[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: pmartin <pmartin_at_ece.gatech.edu>
Date: 2007-11-04 18:06:39 CET

Thanks for the quick reply!
Ok I switched to use JavaHL and eclipse tells me the following error:
"Network connection closed unexpectedly
svn: Connection closed unexpectedly"
I do not get a prompt for username/password when I accessing the repository.
It pops up a window that says "File '' does not exist remotely." and the
console says the above error.

Is there some configuration window for subclipse if I use JavaHL? I'm also
working on Mac OS, so maybe that could be an issue. Do I need any special
libraries for JavaHL in that OS?

Mark Phippard-3 wrote:
>
> 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
> did.
>
> 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.
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/Subclipse-with-SSH-Tunnel-tf4747396.html#a13575402
Sent from the subclipse - users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sun Nov 4 18:06:49 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.