You can use the Private Shell ssh client to establish CVS
Note: the latest version of Private Shell includes the configuration wizard that adjusts settings for CVS interaction quickly and easily
Before you can use Private Shell to tunnel CVS connection, you have to be able to connect to the server via SSH. Read the Password Authentication and the Public Key Authentication (optional) topics first.
Set the environment variable:
Note: You have to append C:\Program Files\Private Shell\ (or another path if you have installed Private Shell elsewhere) to the PATH environment variable.
To specify a particular profile to use with CVS connections, set
PRIVATESHELL_CLI_PROFILE = "profile name"
How to add environment variables
ssh.exe login@server ls
where login@server is your login and the server you are connecting to, e.g.:
ssh.exe firstname.lastname@example.org ls
How can I connect to more than one CVS server through Private Shell?
This can be a problem at the first sight since both Private Shell and CVS use some environment variables to specify several connection parameters. But there is very simple workaround - in your working directory where you will run cvs, create a batch file with the following content and name it cvs.bat:
Now you can run cvs from this catalog as usual:
cvs command parameter1 parameter2 ...
The trick is that the operating system firstly searches the current directory for a "cvs" file. And it finds cvs.bat. But from the batch file itself we force the system to launch original cvs.exe because we mention its extension explicitly.
If you have any problems with CVS try to refer to the F.A.Q. and troubleshooting topic.
SSH is a registered trademark and Secure Shell is a trademark of SSH Communications Security Corp (www.ssh.com)