Here’s how to set up a secure Subversion server under Windows Home Server. These steps assume you are familiar with Cygwin, the command line, and are not afraid to do some unapproved tinkering with your server.
Things you will need:
- Cygwin installed on your Windows development machine. Make sure you have the OpenSSH and Subversion packages installed in Cygwin already, we’ll need those while testing the installation on the WHS.
- An SSH key pair for your development account. If you don’t have one already, create one in Cygwin before starting by launching the
ssh-user-configscript (you need an SSH2 RSA key pair). If you already have an SSH key pair outside of Cygwin, make sure you update the
~/.ssh/authorized_keysin Cygwin with your key pair.
- For your Windows-based development, you will need PuTTY. It includes a Windows-based SSH client so you won’t need to go through Cygwin to use Subversion+SSH.
- Plenty of spare time; this will take a while.
I take no responsibility if this breaks your server, you do this at your own risk, blah blah (you know the drill – if you screw up, it’s your fault not mine).