Subversion + ssh on Windows Vista
Want to use Subversion on Windows Vista, with the svn+ssh
protocol (you know, the only sane one?). It’s remarkably tricky, but
it’s doable. There’s a bunch of incomplete docs on the web, including
Wingware
and Piwigo.
Here’s the steps in schematic form.
- Install the command line Subversion client for Windows. Yes, you have to register for an account to download this free software, at least from collab.net.
- Install PuTTY, the free ssh client for Windows.
- Get PuTTY configured so it’s using Pageant as an ssh key agent. When you can use Putty to log into your SVN server without typing a password, you’re set.
- Go to a command line and verify you can run plink server hostnamewithout typing a password. Plink is what PuTTY named the command ‘ssh’.
- Go toC:\Users\username\AppData\Roaming\Subversionand edit the file config (in Notepad or whatever).
- Head down to the [tunnels] section of the config and
enter this line (all one line, but with lots of \\ quoting nonsense)ssh = C:\\Program\ Files\\(x86\)\\PuTTY\\plink.exe
- Test everything from a command line.svn info svn+ssh://server/...
- Swear at Microsoft for moving the paths for everything in Vista. And swear at the Subversion community for not producing a humane Windows install.