My environment: Linux server, Windows Client
You can use Tortoise SVN to access a repository over ssh by simply changing your url to be something along the lines of:
but then you are repeatedly given the password dialog, with no option to save or cache your password.
The way to get around this is to use ssh and keep the store the key in your pageant list. So essentially the steps are:
- Create a .ssh dir under your home directory on the server
- Generate a public and private key on the server, and put the public key in your ssh dir
- Convert the private key to the format Putty likes (using puttygen.exe)
- Create a saved session in Putty for logging into your server with your private key
- Have pageant.exe running and add the private key to the list stored in pageant, so you don’t have to continue to enter the passphrase
- Change your repository URL to have your putty saved session as the “server” rather than “email@example.com”
The following two sites do a great job of walking through the details of how to do each step above:
However, when trying to import my private key into puttygen, I received the error:
“Couldn’t load private key (ciphers other than DES-EDE3-CBC not supported)”
Which I solved by getting a different snapshot of putty gen from: http://tartarus.org/~simon/putty-snapshots/x86/puttygen.exe (as described on : http://winscp.net/forum/viewtopic.php?t=8324).