Ali’s Notes

svn+ssh on subeclipse

Posted in Uncategorized by aghoras on June 10, 2011

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.

  1. Get puttygen to generate a local private key
  2. Use puttygen to create both a private and a public key
  3. Add the public key to the server’s ssh authorized_keys file
  4. 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.
  5. 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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.