SVN tunneling over SSH – The client side
12 Februar, 2009
Here is how to let a svn client connect to a svn server on a non-standard port.
Fire up an editor and edit the file ~/.subversion/config.
(On a windows machine with TortoiseSVN go to TortoiseSVN settings. There is a button that opens the file.)
Find the section
### Section for configuring tunnel agents.
[tunnels]
and insert a statement like
otherportssh = $otherportssh /usr/bin/ssh "-p 4321".
This setting can now be used in a svn connection string like:
svn+otherportssh://username@host/path and it will connect to the port 4321.
See also:
The SVN redbook – Server Configuration – Tunneling over SSH
Have fun!