Project

General

Profile

Linux » History » Version 6

« Previous - Version 6/10 (diff) - Next » - Current version
Marc Mengel, 06/10/2011 10:00 AM


Linux

There are numerous graphical front ends to the various packages on Windows; regardless which
front-end you choose, you will need to configure the back-end part below.

Front ends

Back Ends

For write access to repositories on cdcvs, I am currently recommending that users use a kerberized ssh,
which comes stock with Fermi Linux, or has to be installed on some older Linuxes.

I recommend for your $HOME/.ssh/config:

host *.fnal.gov
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
host cdcvs.fnal.gov
ForwardX11 = no # ForwardAgent = yes # only if you're using ssh keys, and not kerberos
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes

Also, make sure your kerberos tickets are forwardable:

$ klist -f
Ticket cache: FILE:/tmp/krb5cc_1733_m02jhk
Default principal:
Valid starting     Expires            Service principal
06/10/11 09:51:47 06/11/11 11:51:46
renew until 06/17/11 09:51:46, Flags: FRIA

Note the "F" in the Flags: seciotn

Check if it works:

try to login on the server with ssh:

ssh  echo hi

(where "project" is your project name). You should get

Only 'lscvs' and 'cvs' commands are allowed

CVS

Set CVS_RSH to /usr/bin/ssh in your environment.

export CVS_RSH=/usr/bin/ssh

or for tcsh/csh

setenv CVS_RSH /usr/bin/ssh

Subversion

Subversion just uses ssh automagically.

Git

Git just uses ssh automagically.