Using a Different SSH Port in Subversion

Posted by teem on November 28, 2007

If the subversion repository in using a different port from the standard port 22, you can create a custom tunnel behavior. This will allow you to use svn+teemssh://user@host/repo/proj/trunk instead of the usual svn+ssh://... and use a different port.To do this, add the line in the [tunnels] section of your subversion config (~/.subversion/config): 

teemssh = $TEEM_SSH ssh -p <port>

 Here’s the link to the documentation.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments