Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to connect to a SVN server in order to import my project into it with svn+ssh authentication method. I am using the NetBeans IDE (6.8) with subversion plugin installed on Windows XP SP2. I have plink installed with its path set in the Windows PATH env variable. When I use the similar looking repository URL (XXXX and YYYY replaced with sensible things)

svn+ssh://XXXX@YYYY/home/dce/svn/trunk

along with this external tunnel command

plink -l <myUserName> -i C:\\privateKey.ppk

I keep getting this error:

org.tigris.subversion.javahl.ClientException: Network connection closed unexpectedly

I searched about it on the Internet and tried many things but didn't work out. Please help if anybody has some idea what may be going wrong. Thanks a lot in advance.

share|improve this question

closed as off-topic by kasperd, Ward, Alex, GregL, MadHatter Apr 21 at 20:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

I was getting similar problems, but now I tried this:

  1. remove the username part from the repository url (use svn+ssh://YYYY/home/dce/svn/trunk in your case);
  2. use / instead of \ in the path to private key (C:/privateKey.ppk), using quotes if the path contains spaces.

This two steps worked for me!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.