My boss just set up SVN repository for a new project on a new server (ubuntu). In Eclipse I wasn't able to add the repository to SVN repositories, I kept getting " Network connection closed unexpectedly svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.".
In order to check out the svn repo I did:
svn co svn+ssh://d_dinchev@SOME.IP.ADDRESS/var/svn/repos/ PROJECT_NAME
Then I created a new project in Eclipse, using "source" the directory where I checked out the repository, Eclipse recognized the SVN repository but when I try to do SVN update/commit I keep getting "Network connection closed unexpectedly svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file."
If I do svn up/svn commit in the command line it works fine. Subclipse uses JavaHL 1.6.12 as svn interface.
I'm on Mac OS X 10.6.3 (if that even matters).
I have many other repositories that work fine with both command line and subclipse but their repositories are all in format:
http://repository.example.com/svn/
And in the current case my repository is in:
svn+ssh://d_dinchev@SOME.IP.ADDRESS/var/svn/repos
So I think it might have to do something with the protocol?
In case someone has this, the problem indeed was with "svn+ssh" protocol while using JavaHL Subversion interface. I switched to SVNKit from Eclipse -> Preferences -> Team -> SVN and now it works fine.