Skip to content.
LONI > LoniTechnical > Applications > AccessingACVSRepository

Accessing an Anonymous CVS Repository

The CVS daemon can be anonymously accessed on port 2401. For example:

> cvs -d :pserver:anonymous@cvs.loni.ucla.edu/root/MyProject login

will anonymously login the CVS client to the LONI CVS repository "MyProject" (using a blank password--hit return when prompted for a password).

Accessing a Secure CVS Repository

Passwords are not encrypted between a CVS client and a CVS daemon. Therefore a secure connection is required to access a secure CVS repository outside of the LONI local subnet.

Accessing a Secure CVS Repository inside LONI
The CVS daemon can be directly accessed from the LONI local subnet on port 2402. For example:

> cvs -d :pserver:joe@cvs.loni.ucla.edu:2402/root/MyProject login

will login the CVS client "joe" to the LONI CVS repository "MyProject."

Accessing a Secure CVS Repository outside LONI
A secure connection is required to access the CVS daemon outside of the LONI local subnet. Before the CVS daemon can be accessed, an SSH tunnel must be established between the client computer and the LONI CVS computer. A special system user (cvs-ssh) has been created for this purpose. For example:

> ssh -N -L 8000:cvs.loni.ucla.edu:2402 cvs-ssh@cvs.loni.ucla.edu

will establish the SSH tunnel after typing the password !@hss-svc when prompted. The SSH tunnel should be active although there is no further screen output. If the terminal is closed, the SSH tunnel will be stopped. In another terminal, the LONI CVS daemon can be accessed using the CVS client to communicate with the local SSH port. For example:

> cvs -d :pserver:joe@localhost:8000/root/MyProject login

will login the CVS client "joe" to the LONI CVS repository "MyProject" using the SSH tunnel.