Linux » History » Version 9
« Previous -
Version 9/10
(diff) -
Next » -
Current version
Marc Mengel, 11/06/2013 12:10 PM
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¶
- http://www.tortoisecvs.org/
- http://code.google.com/p/tortoisegit/
- http://tortoisesvn.tigris.org/
- http://www.eclipse.org/
- http://cola.tuxfamily.org/
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
And on some newer systems
GSSAPITrustDNS yes
Also, make sure your kerberos tickets are forwardable:
$ klist -f Ticket cache: FILE:/tmp/krb5cc_1733_m02jhk Default principal: mengel@FNAL.GOV Valid starting Expires Service principal 06/10/11 09:51:47 06/11/11 11:51:46 krbtgt/FNAL.GOV@FNAL.GOV renew until 06/17/11 09:51:46, Flags: FRIA
Note the "F" in the Flags: section. If that isn't happening, check your
/etc/krb5.conf under libdefaults and appdefaults:
[libdefaults] ... forward = true forwardable = true ... [appdefaults] kinit = { forwardable = true ... pam = { debug = false forwardable = true
Check if it works:¶
try to login on the server with ssh:
ssh p-project@cdcvs.fnal.gov 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.