Rob Bodington wrote up the following after sucessfully writing to the “stepmod” CVS repository: (Modified 2006-05-12 by Tom Hendrix, due to new Sourceforge configuration (Modified 2005-10-12 by Tom Hendrix, supports wincvs 2.0)

At last .... SUCCESS.

It was a real gotcha.

I initially checked out the module without using SSH. I then set up SSH. When I then tried to check stuff back, my local copy had the initial CVSROOT - not the one needed for SSH. Hence I could not check stuff back in.

I found out where I was going wrong from (removed invalid hyperlink -THX).

Here are some additional notes on how to get CVS working with SourceForge. I distilled this from a load of help pages that Josh pointed me to. If I have anything wrong or it does not work, then let us know.

This details the software I am using - there are other ways of doing this.

This help was based on Josh's help page at http://ats.nist.gov/stepmod/cvswin.html.

  1. Register on SourceForge, and request developer access from the stepmod project administrator.
  2. Install WinCVS - Can be down loaded from: http://www.wincvs.org/
  3. Install the SSH software PuTTY - You need putty.exe, plink.exe, pageant.exe, puttygen.exe. The putty help pages would be a useful download as well. These can be down loaded from http://www.chiark.greenend.org.uk/~sgtatham/putty/. Useful help pages: http://sourceforge.net/docman/display_doc.php?docid=6841&group_id=1
  4. Set up and test your SSH to connect to SourceForge. First generate and post your SSH key to SourceForge. Details on how to do this are at http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1. Note - you may have to wait an hour before your key has been circulated.
  5. Create and save a putty session that logs on to SourceForge using SSH. On the session window:
       Host Name: stepmod.cvs.sourceforge.net
       SSH selected
    On the SSH window:
       SSH 2 selected
    Specify your authentication key.
  6. Set up CVS environment variable
       set CVS_RSH=\path\to\plink.exe 
  7. Run pageant adding your key
  8. Check out the repository - use Remote->Checkout module
    For Module name and path, enter:
    Select local folder to check out to.
    Check the box for cvsroot and enter:
    where putty_session_name is the name of the putty session just created.

SourceForge Logo  Valid XHTML 1.0!