[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Using ssh+svn through non-standard port

From: Nikki Locke <nikki_at_trumphurst.com>
Date: Tue, 17 Nov 2009 06:31:54 -0800 (PST)

Our SVN server (on a Linux box) is accessed using SSH, but this listens on a non-standard port (for firewalling reasons - port 22 is busy doing something else, and to stop idiot hackers filling up the logs with their hacking attempts).

We build the same software on both Linux and Windows. On Windows, I have set up a putty session, and I use the session name in my svn urls (e.g. "svn+ssh://@svnserver/repo"). On Linux I have set up a tunnel in the .subversion/config file, containing "svnserver = $SVN_SSH ssh -p 4001". The Linux urls are therefore of the form "svn+svnserver://nikki@123.456.789.123/repo.

We have just decided to start using svn externals, and we have an issue with the url to use in the externals property - if we use the WIndows one, it doesn't work on Linux, and if we use the Linux one it doesn't work on Windows.

I thought I could maybe add a similar tunnel in the Tortoise config file (which I found in ~\Application Data\Subversion), but I can't seem to get it working (I get "Network connection closed unexpectedly). This is what I used:

svnserver = $SVN_SSH TortoisePlink -P 4001

TortoisePlink is on my PATH.

Any suggestions as to what is wrong with my tunnel line, or how else to be able to use the same url in both Windows and Linux?

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2418948

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-17 16:34:07 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.