WinCVS
Subject
WinCvs 1.3 over ssh, with a working cygwin ssh configuration
Method 2 - password on command line
- Open the Checkout Dialog: Remote | Checkout module ...
- Module name and path on the server: this is the subdirectory in cvs to get files from
- Check: Check out into directory: files get checked out into this subdirectory of the value you set with Local folder to checkout to:
- Uncheck: Don't shorten module paths if unchecked then you get the files you requested without their parent directory paths, if checked then their full parent directory paths are created in the local folder you checkout to.
- Check: CVSROOT and set it to something like this:
:ssh;username=USERNAME;password=PASSWORD;hostname=HOST_NAME_OR_IPADDR:/home/cvsrepository
- Here is the command line that will do the checkout shown above: (using cvsNT that is installed with winCVS)
cvs -d :ssh;username=USERNAME;password=PASSWORD;hostname=HOST_NAME_OR_IPADDR:/home/cvsrepository checkout -P -d SUBDIR_IN_LOCAL_DIR_TO_PLACE_FILES SUBDIR_IN_CVS_TREE_TO_GET_FILES_FROM
Note that this places the checked out files relative to the current directory, in this case in a subdir of the current directory whose name is whatever you substituted for SUBDIR_IN_LOCAL_DIR_TO_PLACE_FILES
Method 1 - old
This is how to make it work if you are running cygwin's ssh and it works fine with no password
- Download and install
Putty Key Generator (aka puTTYgen)
- Run putty gen and Conversions | import key and import your cygwin id_rsa file, then save private key to create the private key file puTTY will use.
- Download and run
Pageant (A puTTY tool to reduce number of logins)
- Double click on the
Pageant icon in the system tray and Add Key the file you exported
- Install WinCVS fully
- Admin | CVS | CVS setup
C:\
- Remote | Checkout module ... | Checkout setting | Module name and path on the server
{path from the CVS repository to the project you want. Ex: nova/complexlook}
- Remote | Checkout module ... | Checkout setting | Local folder to checkout to
{where ever you want the checkout to place the files}
- Remote | Checkout module ... | Checkout setting | CVSROOT
:ssh;username=yourUsername;hostname=nameOrIpAddr:/home/cvsrepository Note that it ends with the path to the CVS repository on the server machine
- Click Okay to get the files