svn+ssh using TortoiseSVN
TortoiseSVN supports all subversion protocols including svn+ssh. Its really very simple to execute all the SVN commands using TortoiseSVN. Though there are enough documents covering server side configurations (Installing subversion, OpenSSH Installation, key generation etc) in depth, there is not much on what needs to be done on the client side when it comes to svn+ssh using TortoiseSVN. Its an easy 3 step process.
- The first thing that we will need to do on the client side is generate a SSH Key using puttygen. Using this you can get both the public and the private key. Give the generated public key to your server admin so that he can add this key into SVN repository account. If you get your private key from the server side then using puttygen convert it into putty format. To convert, open “puttygen”. Open the “conversions” menu and choose “Import Key”. Then browse to the file which you got from the server. Enter your provided passphrase upon creation of the key. Finally save the file as “mykey.PPK” somewhere on disk.
- Once you have your private key ready, open pageant. Right-click on the pageant icon on your taskbar and click on “add key”. Select “mykey.PPK” which we generated in the previous step.
- That’s all. Now with pageant running in the background, use TortoiseSVN as you use normally. TortoiseSVN looks for a running pageant and will try all the keys stored in pageant.