CVS under Windows using WinCVS and OpenSSH
by Falko Menge and Gregor Gabrysiak
you can download a manual wich helped us getting started.
The WinCVS Web site is located at: http://www.wincvs.org. The site provides links to download the client software as well as documentation to get you up and running with using CVS to manage your projects.
The CVS Web site provides software downloads as well as all the necessary documentation to get you familiar with the software. The URL is: www.cvshome.org.
Download and install OpenSSH for Windows from http://sshwindows.sourceforge.net/
Make sure that the path where you installed OpenSSH in is set in the PATH variable and set the variable HOME to the directory which contains your Profile.
For Windows 2000, XP & 2003: set HOME=C:\Documents and Settings\<username>
For Windows NT 4.0: set HOME=C:\WINNT\Profiles\<username>
For Windows 9x & ME: set HOME=C:\WINDOWS\Profiles\<username>
Be careful: if you use a non-english version of Windows, the names of the folders may be different (e.g. :“C:\Dokumente und Einstellungen\<username>“)
Now we generate a pair of ssh-keys. Therefore open a command line window (the MS-DOS Prompt).
Type „ssh-keygen -t rsa“
On the following questions, just hit Enter three
times to use the default folder and a blank passphrase.
We consider it as not necessary to use a passphrase, as long as you make sure, that nobody is able to steal your private key.
Go to %HOME%\.ssh and edit the file id_rsa.pub
Change the user id at the end from <currentuser>@<localmachine> to <sourceforgeusername>@shell.sf.net
Go to https://sourceforge.net/account/editsshkeys.php and copy the whole content of the file id_rsa.pub into the text-array and upload it.
Go to http://www.wincvs.org and download the latest recommended release (you should download the „normal“ installer, not the „bare“ one). At the time of writing, the newest version was WinCvs 220.127.116.11(released 2004-05-21)
After installing it - run it. Use the following „values“ to enter them into the upcoming Preferences-dialog.
Go to the CVS-Tab, enter your profile-path for your version of Windows and activate the checkbox to „Show CVS console (open TTY)“
Now it's time to do an initial checkout. Therefor you go to to the „Remote“-menu and choose „Checkout module...“
Just enter the name of the module you want to check out and the folder you want to store the files in. After clicking OK WinCVS will create a local working-copy of the selected module. If required repeat point 6 with the other modules you want to work with.
Now the initial work is done and you can continue with adding files, committing changes or updating your local repository with the changes of the other users.
Note: You should add binary files like images with the binary option. Therefor you select the binary file(s), go to to the „Modify“-menu and choose „Add binary“