• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Remote SubVersioN

VectraMan

Lord of the Vectras
Joined
Dec 28, 2005
Messages
11,460
Likes received
1,218
Thanks received
233
Location
European Union (Yorkshire)
I've setup an SVN server before on a LAN to play with, but I need to setup a system for a couple of us to work together over broadband internet connections. It's going to be on ADSL, so the 256K uplink is going to be the bottleneck for the non-local users.

I could just map a port from the router, but presumably that's all unencrypted. Is there a sensible way of doing this so that it's encrypted, and preferably compressed? It's mostly source code, so I imagine the compression could make quite a difference.

Thanks for any help.
 
VectraMan said:
I've setup an SVN server before on a LAN to play with, but I need to setup a system for a couple of us to work together over broadband internet connections. It's going to be on ADSL, so the 256K uplink is going to be the bottleneck for the non-local users.

I could just map a port from the router, but presumably that's all unencrypted. Is there a sensible way of doing this so that it's encrypted, and preferably compressed? It's mostly source code, so I imagine the compression could make quite a difference.

Thanks for any help.


I've found the best way to run SVN is over HTTP/HTTPS via mod_dav_svn. By using Apache, you benefit from the access control features of that and you avoid firewall/router/NAT issues. You can compress data that travels over HTTP(S) using Apache too.

http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html

http://svnbook.red-bean.com/nightly/en/svn.ref.mod_dav_svn.conf.html
 
Thanks. Any simple ways? :D

I guess I need to bite the bullet and read all that stuff. Presumably whilst SSH is a nightmare to setup at both ends, using Apache/HTTPS is better as it's only a nightmare to setup at the server end?
 
Apache isn't that bad, especially if using a nice linux distro like Debian.

apt-get install apache2

Done :)
 
Oh yes, it all has to be on Windows. :rolleyes:
 
VectraMan said:
SSH is a nightmare to setup at both ends

On the contrary its a piece of piss, apt-get install ssh

ssh has to be one of the most useful bits of software ever
 
portseven said:
On the contrary its a piece of piss, apt-get install ssh

ssh has to be one of the most useful bits of software ever

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

H:\>apt-get install ssh
'apt-get' is not recognized as an internal or external command,
operable program or batch file.

What am I doing wrong?

:tongue
 
VectraMan said:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

....

What am I doing wrong?

Using Windows
 

Advertisers

Back
Top