Source Control

ID #1060

I have a Managed SVN repository, how can I connect over SSH?

Normally a Managed repository is only accessible over the SVNServer (aka svn://) protcol, However, if you (the primary account holder) would like to tunnel your SVN session over SSH, you can. This might be necessary if you're behind a firewall that doesn't allow outbound port 3690 - the svnserve port.

Using OpenSSH, you can do the following:

$ ssh -L3690:svn.geekisp.com:3690 login.geekisp.com
Then simply access the repository at svn://localhost/...

For Putty:

On the Session dialog, enter login.geekisp.com under Hostname.

Click Tunnels on the right hand pane. Enter 3690 for the source port.
Enter svn.geekisp.com:3690 and click on the add button.
Under Forwarded Ports, you should now see:

L3690 svn.geekisp.com:3690

Click on the Open button and provide your shell authentication credentials.

When using TortoiseSVN with Putty:

To browse your respository, open a Windows Explorer Window.   Go to File ->
TortoiseSVN -> Repo Browser.
Enter svn://localhost/yourrepository in the URL dialog box and click OK.

You should now be able to browse your repository.

Tags: -

Related entries:

Last update: 2006-09-05 12:12
Author: Dave Steinberg
Revision: 1.3

Digg it! Print this record Send to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this entry:

Average rating: 5 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You can comment on this entry