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
remote_network_svn_server_ip
will just be localhost.
Then you can access your repository using your usual tools using the
following url:
svn://localhost/repository_name
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?
Cheers,
Edward
---------------------------------------------------------------------
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