Instructions for SVN+SSH on Windows (short version)
Nicolas Galler | May 10, 2007- Go download putty. Install the big installer.
- Install subversion, and install TortoiseSVN.
- Use puttygen to generate a key. Make sure you specify a pass phrase! Save the private key on Windows, and paste the OpenSSH stuff into authorized_keys in Linux.
- Have pageant run at startup: create a shortcut under the startup menu and have this command in it:
"C:\Program Files\PuTTY\pageant.exe" "E:\Documents\SSH\putty_key.ppk"
(replace with appropriate path, but don’t remove the quotes) - Start PageAnt, or preferably relog into Windows to make sure it starts automatically.
- Now right click in a windows explorer windows and start the tortoiseSVN repo-browser. As the address, specify something like this:
svn+ssh://username@host/home/nether/SVN
UPDATE – this method is so damn slow over the LAN I really can’t recommend it anymore (I am running a local svnserve now). BUT, I think it might be OK over the web – I believe the issue is there is a huge overhead in establishing the connection, and TortoiseSVN does that (spawning a new SSH or something…) every time I open a folder. It feels like VSS, if you know what I mean. Meanwhile over the internet there is a bigger latency to deal with so the overhead of opening the SSH may not be that noticeable.





