Skip to content.
MouseBIRN > MouseBIRNWorkGroups > MouseBIRNProgrammers > Svn+sshSetupCommandLine

svn+ssh on command line (Windows)

  • Required Software
    1. PuTTY?, Plink, Pageant: http://www.chiark.greenend.org.uk/~sgtatham/putty/
    2. svn.exe: http://subversion.tigris.org
  • Installation
    1. Setup ssh (see http://tortoisesvn.net/ssh_howto)
    2. Setup Pageant: add private key (ie: key.ppk) [Pageant automatically enters your ssh key password]
    3. Verify ssh connection:
               plink user@server
      

      If all goes well, you should be logged on without having to enter password.

    4. Configure subversion to use plink for "svn+ssh". In the ${APPDATA}\Subversion\config file, under the [tunnels] section add (must use slash (/)):
               ssh = /PATH/TO/plink.exe
      
    5. Verify svn+ssh:
               svn list svn+ssh://user@host/$REPO_DIR
      

      If all goes well, you should see the contents of the repository.

    6. Pageant must be running so for convenience you can add it to your startup programs as:
               \\PATH\TO\pageant.exe \\PATH\TO\key.ppk