Next: [[cvs: Read-only repository access#Read-only repository access|Read-only access]], Previous: [[cvs: Moving a repository#Moving a repository|Moving a repository]], Up: [[cvs: The Repository#The Repository|Repository]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|

----

=== Remote repositories ===

Your working copy of the sources can be on a different machine than the repository. Using CVS in this manner is known as client/server operation. You run CVS on a machine which can mount your working directory, known as the client, and tell it to communicate to a machine which can mount the repository, known as the server. Generally, using a remote repository is just like using a local one, except that the format of the repository name is:

<nowiki>[</nowiki>:method:<nowiki>][[</nowiki>user<nowiki>][</nowiki>:password<nowiki>]</nowiki>@<nowiki>]</nowiki>hostname<nowiki>[</nowiki>:<nowiki>[</nowiki>port<nowiki>]]</nowiki>/path/to/repository

Specifying a password in the repository name is not recommended during checkout, since this will cause CVS to store a cleartext copy of the password in each created directory. `cvs login` first instead (see [[cvs: Using the client with password authentication#Using the client with password authentication|Password authentication client]]).

The details of exactly what needs to be set up depend on how you are connecting to the server.

If method is not specified, and the repository name contains ‘`:`’, then the default is `ext` or `server`, depending on your platform; both are described in [[cvs: Connecting with rsh#Connecting with rsh|Connecting via rsh]].

[[cvs: Server requirements#Server requirements|• Server requirements]]:: Memory and other resources for servers [[cvs: Connecting with rsh#Connecting with rsh|• Connecting via rsh]]:: Using the `rsh` program to connect [[cvs: Direct connection with password authentication#Direct connection with password authentication|• Password authenticated]]:: Direct connections using passwords [[cvs: Direct connection with GSSAPI#Direct connection with GSSAPI|• GSSAPI authenticated]]:: Direct connections using GSSAPI [[cvs: Direct connection with kerberos#Direct connection with kerberos|• Kerberos authenticated]]:: Direct connections with kerberos [[cvs: Connecting with fork#Connecting with fork|• Connecting via fork]]:: Using a forked `cvs server` to connect

----

Next: [[cvs: Read-only repository access#Read-only repository access|Read-only access]], Previous: [[cvs: Moving a repository#Moving a repository|Moving a repository]], Up: [[cvs: The Repository#The Repository|Repository]] |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|

This document was generated on a sunny day using [http://www.nongnu.org/texi2html/ texi2html].