svn+ssh on subeclipse
To get svn+ssh to work on Eclipse using Subclipse requires a bit of work. Apparently, Subclipse does not know how to do SSH natively. Here are the steps I followed on windows to get things working.
- Get puttygen to generate a local private key
- Use puttygen to create both a private and a public key
- Add the public key to the server’s ssh authorized_keys file
- Get and install Tortoise SVN windows subversion client. We’re going to use the ssh client that comes with this program to do the tunneling.
- Edit the file under
%ALLUSERSPROFILE%\Application Data\Subversion\config
and set the ssh section under [tunnel] to: <
ssh = C:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe -i c:\\home\\putty_keys\\private_key.ppk -l gho18481
In this example, my user name is gho18481. Make sure to put the “\\” in front of each path otherwise things wont work. Under UNIX, the config file should be under/etc/subversion/config
Advertisement
leave a comment