Checkout modules with WinCVS for developers
Get these tools from the PuTTY homepage
- PuTTY - a graphical SSH client
FTP
HTTP
- Plink - a command-line interface to PuTTY
FTP
HTTP
- PuTTYgen - a graphical SSH key generator
FTP
HTTP
Generate an SSH1 (RSA) key with PuTTYgen
- Run the PuTTYgen (puttygen.exe)
- Click on the Generate button
- Move the mouse randomly in the Key box until the meter is full
- Click on the Save button to save the Private Key
- Click Yes when it asks "Are you sure you want to save this key without a passphrase to protect it?"
- Give the Private Key a name you can remember like "my-private-key"
- Click the Save Button
- Select all of the text in the "Public key for pasting into authorized_keys file:" box
- Right-click on the selected text and click on Copy in the menu that pops up
- Paste the Public Key into your list of authorized keys at SourceForge
- Close PuTTYgen
Create a PuTTY configuration for Plink to use (you can do this
right now, while you are waiting for your key to start working)
- Run PuTTY (putty.exe)
- In the "Category" box (the large tree view on the left side) Click on "SSH"
- Find the "Private key file for authentication" box
- Click on the Browse buttion next to the box
- Locate the Private Key file you generated with PuTTYgen
- In the "Category" box (the large tree view on the left side) Click on "Session"
- For Host Name, enter the part of your CVSROOT before the colon (i.e. "cvs.PROJECT-NAME.sf.net")
- For Protocol, select SSH (which should automatically change the Port to 22)
- Type a name for the session in the first box under "Saved Sessions:"
(it can be the same as the Host Name)
- Click on the Save button to save this session so Plink can use it
- Close PuTTY
Checkout the CVS modules (this won't work until your CVS key gets
"synchronized" which could take up to six hours)
- Get WinCVS if you don't already have it
- In the Start menu, find WinCVS in Programs > GNU > WinCVS 1.2 and click on it
- Open the Admin menu and select Preferences
(If this is the first time you have run WinCVS the Admin Preferences
dialogue box will open when you close the Tip of the Day.)
- On the General tab enter NAME@SESSION:DIRECTORY as the CVSROOT
- where NAME is your SourceForge user name
- where SESSION is the name of the session you saved in PuTTY
- where DIRECTORY is the part of your CVSROOT after the first colon
(i.e. "/cvsroot/PROJECT-NAME")
- Also on the General tab change the Authentication option to: "SSH server"
- On the Ports tab, check the box labeled "Check for an alternate rsh name:"
- To the right of the box you just checked, enter the path to Plink
(Example: "\download\putty\plink")
- Click OK to accept the new preferences
- Open the View menu and select Browse Location > Change
- Select a folder for your cvs files and click OK
- Open the Create menu and select Checkout Module
- On the Checkout Settings tab set the module name
- Click the OK button to check out the module
- Wait for CVS to finish and print "*****CVS exited normally with code 0*****"