zdl411437734 / svnx

Automatically exported from code.google.com/p/svnx
0 stars 0 forks source link

SSH through another port than 22 #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Creating a repository path that looks like:

svn+ssh://host:port/path/
does not seem to work. It respons:
ssh: connect to host host:port port 22: Connection refused

svn: Connection closed unexpectedly

Where host and port obviously is something meaningful.

Thanks,

Original issue reported on code.google.com by patrik.j...@gmail.com on 16 Jul 2009 at 3:37

GoogleCodeExporter commented 9 years ago
Tried with svnX 1.1b3 (BETA).

Original comment by patrik.j...@gmail.com on 16 Jul 2009 at 3:40

GoogleCodeExporter commented 9 years ago
Does it work correctly from the command line?
Are you using SSHKeychain?
Did you read the info regarding SSH in the svnX Help window/Read Me file?
Did you Google 'svn & ssh' or 'svnX & ssh'?

Apparently you may not enter a port number in a URL when using svn+ssh with 
Subversion.
You need to add something like the following to your ~/.ssh/config:

    Host <some-unique-host-name>
    HostName <real.svn.repo.domain.com>
    Port <required-port-number>

And then for the svnX repository path enter:
    svn+ssh://<username>@<some-unique-host-name>/<path-to-repository>

However, I don't think that this is really an svnX issue.

Original comment by chris...@gmail.com on 16 Jul 2009 at 7:13

GoogleCodeExporter commented 9 years ago
I'm successfully using that path format in the SVN connector used in the 
Eclipse IDE 
and therefore thought it was supposed to be possible for all svn clients. 
Anyway, your solution worked, thanks, although it doesn't seem to use the 
username 
and password I've added in svnX for that repository. It keeps prompting me for 
the 
password for every operation. But that doesn't really go in this issue, does it?

Original comment by patrik.j...@gmail.com on 16 Jul 2009 at 7:26

GoogleCodeExporter commented 9 years ago
What keeps prompting you?

I'm pretty certain svnX NEVER prompts for passwords.  (There's no code in svnX 
to do that.)
However, SSH (possibly via SSHKeychain) will repeatedly request passwords if 
not setup correctly.
[SSH requests a username/password to log into the SSH server.
 SvnX & Subversion only store username/password to access the repository.
 Different username/password even if they are the same.]

I'm going to close this issue as I don't think this is a problem with svnX.

Original comment by chris...@gmail.com on 16 Jul 2009 at 7:54