CVS login FAQ: How do I login to a CVS server using SSH?
cvs login - a Windows example
Here's how I do a "cvs login" to our CVS server using SSH, on a Windows PC:
set CVSROOT=:ssh:firstname.lastname@example.org:/home/cvs/ cvs login
Note that the only real different thing here is that you specify the ssh protocol for communicating with the server.
Note that I also like to set the CVSROOT early on, as it makes all subsequent commands a lot easier (i.e., you don't have to keep doing the crazy "
-d" command stuff).
cvs login - a Linux example
And this is what I just did on a Linux workstation to perform a CVS login using SSH:
prompt> export CVSROOT=:ext:USER@MY_SERVER:/home/cvs/ prompt> export CVS_RSH=ssh prompt> cvs co MY_MODULE
In this example
MY_MODULE all need to be replaced by your actual variables.