4. TortoiseSVN

TortoiseSVN is a graphical subversion client for Microsoft operating systems. It uses a modified version of Putty to enable SSH tunneling.

One of the problems using subversion with SSH is having to enter your password every time you run a subversion command. This can be fixed by using a private key to establish the SSH connection (instead of a password). Having generated a private key on the repository host and set up SSH in the normal way, the following procedure shows how to configure TortoiseSVN to use that key for accessing the repository.

  1. Ensure that the Putty suite of tools is installed (TortoiseSVN only includes a hacked version of plink.exe).

  2. Use puttygen.exe to convert the id.rsa private key file to a *.ppk putty-compatible file (e.g. joeOnJjj.ppk).

  3. Add a line to the C:\Documents and Settings\joe\Application Data\Subversion\config file (also accessible throught the explorer context menu TortoiseSVN->Settings+Main+Edit). The line must be added to the [tunnels] section:

      jjj = C:\\Program Files\\TortoiseSVN\\TortoisePlink.exe -batch    \
              -i C:\\home\joe\\joeOnJjj.ppk -l joe

  4. Now you can checkout without entering a password by entering a URL like:

      svn+jjj://jjj.joe.org/home/joe/svn/rep1/projectPath/trunk