Connecting to cdcvs

[As of June 21, rsh access to the cdcvs repository is no longer available, instead either ssh with RSA keys, or kerberos rsh, gserver, or pserver must be used to access the repository.i]

Users can be granted access to one of the several repositories on cdcvs, which can be via several different mechanisms, outlined below.

The following table should help you determine what sort of access you are using:

Type	     $CVS_RSH		$CVSROOT
----	     --------		--------
rsh				cvsuser@cdcvs.fnal.gov:/cvs/cd
rsh	     /usr/bin/rsh	cvsuser@cdcvs.fnal.gov:/cvs/cd
ssh	     /usr/krb5/bin/ssh	cvsuser@cdcvs.fnal.gov:/cvs/cd
ssh	     /usr/local/bin/ssh	cvsuser@cdcvs.fnal.gov:/cvs/cd
kerberos-rsh /usr/krb5/bin/rsh	cvsuser@cdcvs.fnal.gov:/cvs/cd
gserver				:gserver:cvsuser@cdcvs.fnal.gov:/cvs/cd
pserver				:pserver:yourname@cdcvs.fnal.gov:/cvs/cd
anonymous			:pserver:anonymous@cdcvs.fnal.gov:/cvs/cd_read_only
For any of these styles of access except anonymous, you also need to be registered, as mentioned above.

Users wanting to use gserver access, need either the Fermilab ups distribution of cvs, or they need to apply the patch and build their own client, as the stock cvs code does not implement the "user@" part of ":gserver:user@host:/path".

Requesting Access

Users can request access via any of these mechanisms, as outlined below. We greatly prefer kerberos authenticated access.

If you are changing access styles in a manner that changes your CVSROOT value (see table above) checked-out copies of repositories can be converted to their new CVSROOT using the "fixcvsroot" script, available for download at:
  http://cdcvs.fnal.gov/

Requests for kerberos access (either kerberos rsh, or :gserver:) involve simply sending email to
  helpdesk@fnal.gov
with your kerberos principal name asking for access to the appropriate repository.

Instructions for building your RSA key, needed to register for ssh access, are at
  http://www.fnal.gov/docs/products/cvs/cvs_ssh.html
Or for Windows users:
  http://www.fnal.gov/docs/products/cvs/wincvs_putty
You would then send public key to
  helpdesk@fnal.gov
Only users who have met the requirements for a computing account at Fermilab should request access. Such requests should go to helpdesk@fnal.gov, where they will generally be handled within 2 business days.

Requests for psever accounts should go to   helpdesk@fnal.gov
you will receive a password for use with "cvs login".

Accessing via openssh

We have upgraded the sshd on cdcvs. Because of this, most users who were using ssh to access will have to do the following.
Create a file $HOME/.ssh/config
Make sure the file has the following in it

host cdcvs.fnal.gov
 ForwardX11 = no
 ForwardAgent = yes
 protocol = 1