Windows, svn+ssh and plink

 

There are two important informations I couldn’t find in other tutorials:

  • Do not use backslashes in config file!
  • Add –l username parameter while keeping username in repo url.

 

1. Download plink and try it:

path_to_plink.exe –i path_to_private_key.ppk –l username svn+ssh://username@repo_addrress

2. Edit svn config file which lies in one of the following directories:

C:\Documents and Settings\%USERNAME%\Application Data\Subversion\

C:\Users\%USERNAME%AppData\Roaming\Subversion

2. Under section [tunnels] place:

ssh=$SVN_SSH pth_to_plink.exe -i path_to_private_key.ppk -l username