CVS can be told to access remote repository by giving the name of the server & repository with the -d commandline option, or by identifying the repository in the $CVSROOT environment variable.
This is well described in The CVS Manual
. go to the section on remote repositories
Is this what you are asking?