Skip to content

SVN+SSH problems when not using port 22

Bugzilla Link 394550
Status NEW
Importance P3 normal
Reported Nov 18, 2012 22:48 EDT
Modified Oct 19, 2021 12:59 EDT
Version 1.0.0
Depends on 499333
Reporter Tony

Description

I have been using Subversive for many years now, so this isn't a new bug in the latest version.

The problem is that Subversive resorts to using port 22, when using svn+ssh over a non-standard port.

To reproduce, setup a new svn+ssh location using a non-standard port (23001 in my case), and when complete the location is validated on finish. After a long pause it eventually displays the error message:

"Location information has been specified incorrectly

svn: E210002: There was a problem while connecting to :22"

So the first bug is that it is using port 22 and not the specified port.

Upon re-opening the location, the port under the SSH settings has indeed reverted to 22 (this is the second bug). Changing it, and retrying still displays the above error on port 22, however the location properties now does contain the correct port.

I am not sure how I get out of this, but a combination of restarting Eclipse and retrying various different ways of editing the location properties eventually fixes the issue and it connects on the correct port.

I am logging this issue as so far with Eclipse 3.7.1 and Subversion 1.0.0 I have been unable to fix this issue in the last 30 minutes (usually it takes a lot less time than this)