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

Re: accessing svn through internet

From: Edward Peckham <edward_at_peckham.me.uk>
Date: 2006-11-17 12:47:48 CET

Duncan Murdoch wrote:
> On 11/16/2006 6:51 PM, Ryan Schmidt wrote:
>> On Nov 16, 2006, at 16:03, ╔rico wrote:
>>> I'm using svn in my office network and everything is fine
>>> I would like to access svn from home
>>> Searching for documentation on the web I configured permission in
>>> my firewall to access port 3690
>>> so i tried : svn://myhost:3690 or svn://myhost_ip:3690 and wasn't
>>> able to connect to my server
>>> I'm searching in documentation how to configure this feature
>>> Does any one can give me some help about this
>> Are you running svnserve?
>> You need to be, if you expect to be able to access the repository
>> over the svn:// protocol.
>> The book explains how to set up svnserve, or the Apache server,
>> which is another option.
>> http://svnbook.red-bean.com/en/1.2/svn.serverconfig.html
> I've found it easier to set up svn+ssh access. No server needed
> (except the sshd server, of course, but it was running for other
> reasons).
Another way of using ssh, that I like, is using port forwarding:
You need to be running svnserve and sshd on the remote network for this.

On your client run

ssh -L 3690:remote_network_svn_server_ip:3690 -n username@sshd_server_name &

This will tunnel the port 3690 on your svn server machine to port 3690
on your local machine.
If your sshd server and svnserve are on the same machine then
will just be localhost.
Then you can access your repository using your usual tools using the
following url:


If you already have a working copy on your client machine that you
checked out locally, then
you'll need to do an svn switch --relocate on it.
This port forwarding method never seems to get mentioned much, but it
works well for me.
Does anyone else use ssh with svn in this way?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 17 15:37:41 2006

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