In control panel / system / advanced / environment variables, create environment variable CVS_RSH. Set the value to the absolute path of plink.exe in PuTTY, ie "c:\PuTTY\plink.exe"
In PuTTY installation directory, open puttygen.exe.
At the bottom of the panel under "Parameters", click the "SSH2-DSA" radio button.
Click "generate".
Move mouse over blank area until key is generated.
Click "save private key".
When dialog asks "Are you sure you want to save this key without a passphrase to protect it?", click "Yes". You probably should protect it - see below. -- JohnTaylor 9 Oct 03
Give the private key a name (ie "astrogrid.ppk") and save (doesn't matter where - in your PuTTY, CVS, or Eclipse directories are sensible places).
Return to generate key panel and click "save public key".
Give key a name (ie "username_publickey" - no file extension is necessary) and save.
Click "save" (make sure saved with session name cvs.astrogrid.org).
In left menu of panel, click "Connection" once.
Auto-login username: (your cvs username)
In left menu under "Connection", click "SSH" once.
Preferred SSH protocol version: 2
In left menu under "SSH", click "Auth" once.
Private key file for authentication: (browse to your private key .ppk file)
At the top of the left menu, click "Session" once.
Click "Save" again.
This session can be started now or at any time by starting putty.exe, highlighting "cvs.astrogrid.org" under saved sessions, pressing "Load", and then pressing "Open".
A PuTTY window will start up and log you into cvs.astrogrid.org with your username and no password.
In control panel / system / advanced / environment variables, edit the PATH environment variable to include the directory where the CVS executable is installed.
From top menu, select Window / Open Perspective / CVS RepositoryExploring?.
From top menu, select Window / Preferences.
In dialog, click Team / CVS / Ext Connection Method.
CVS_RSH: plink
Click "Apply" and "Okay".
When dialog closes, right click in CVS Repository panel (left side) and choose New / Repository Location.
Host: cvs.astrogrid.org
Repository Path: /devel
User: (your cvs username)
Connection type: ext
Make sure "Use Default Port" is checked
Make sure "Validate Connection on Finish" is checked
Click "Finish"
Eclipse should validate CVS access. Check this by expanding "HEAD" in the CVS panel; you should see a list of modules from cvs.astrogrid.org:/devel.
-- ElizabethAuden - 15 Apr 2003
My Windows/Eclipse/CVS installation is slightly different but seems to work. It's a mix of the advice on this page and that on UsingCVS.
Download PuTTY and generate a key-pair as in sections I & II of this document. Do protect your private key with a pass phrase unless you want everyone with access to your harddrive to be able to pretend to be you! No need to set the CVS_RSH variable - that's done below in Eclipse.
Skip sections III & IV - Eclipse already contains a CVS client. [Or at least, I don't have CVS on my machine, but this method works!]
Section V is a bit different - this is where we mix in the stuff from UsingCVS.
Use pageant to load your private key into memory. You'll be prompted for the passphrase to decode it that you set earlier. The best thing to do is to put a shortcut to pageant into your startup folder so you're prompted just once for the passphrase on logon. In my case the shortcut is: