Project

General

Profile

Linux » History » Version 6

Marc Mengel, 06/10/2011 10:00 AM

1 1 Marc Mengel
h1. Linux
2 1 Marc Mengel
3 1 Marc Mengel
There are numerous graphical front ends to the various packages on Windows; regardless which
4 1 Marc Mengel
front-end you choose, you will need to configure the back-end part below.
5 1 Marc Mengel
6 1 Marc Mengel
h2. Front ends
7 1 Marc Mengel
8 1 Marc Mengel
* http://www.tortoisecvs.org/
9 1 Marc Mengel
* http://code.google.com/p/tortoisegit/
10 1 Marc Mengel
* http://tortoisesvn.tigris.org/
11 1 Marc Mengel
* http://www.eclipse.org/
12 4 Marc Mengel
* http://cola.tuxfamily.org/
13 1 Marc Mengel
14 1 Marc Mengel
h2. Back Ends
15 1 Marc Mengel
16 1 Marc Mengel
For write access to  repositories on cdcvs, I am currently recommending that users use a kerberized ssh, 
17 1 Marc Mengel
which comes stock with Fermi Linux, or has to be installed on some older Linuxes.
18 1 Marc Mengel
19 1 Marc Mengel
I recommend for your $HOME/.ssh/config:
20 1 Marc Mengel
21 1 Marc Mengel
  host *.fnal.gov
22 1 Marc Mengel
   GSSAPIAuthentication yes
23 1 Marc Mengel
   GSSAPIDelegateCredentials yes
24 1 Marc Mengel
  host cdcvs.fnal.gov
25 1 Marc Mengel
   ForwardX11 = no
26 2 Marc Mengel
   # ForwardAgent = yes # only if you're using ssh keys, and not kerberos
27 1 Marc Mengel
   GSSAPIAuthentication yes
28 1 Marc Mengel
   GSSAPIDelegateCredentials yes
29 1 Marc Mengel
30 6 Marc Mengel
Also, make sure your kerberos tickets are forwardable:
31 6 Marc Mengel
32 6 Marc Mengel
  $ klist -f
33 6 Marc Mengel
  Ticket cache: FILE:/tmp/krb5cc_1733_m02jhk
34 6 Marc Mengel
  Default principal: mengel@FNAL.GOV
35 6 Marc Mengel
  
36 6 Marc Mengel
  Valid starting     Expires            Service principal
37 6 Marc Mengel
  06/10/11 09:51:47  06/11/11 11:51:46  krbtgt/FNAL.GOV@FNAL.GOV
38 6 Marc Mengel
	renew until 06/17/11 09:51:46, Flags: FRIA
39 6 Marc Mengel
40 6 Marc Mengel
Note the "F" in the Flags: seciotn
41 6 Marc Mengel
42 6 Marc Mengel
43 1 Marc Mengel
h2. Check if it works:
44 1 Marc Mengel
45 1 Marc Mengel
try to login on the server with  ssh:
46 1 Marc Mengel
47 1 Marc Mengel
   ssh p-project@cdcvs.fnal.gov echo hi
48 1 Marc Mengel
49 5 Marc Mengel
(where "project" is your project name). You should get 
50 1 Marc Mengel
51 1 Marc Mengel
   Only 'lscvs' and 'cvs' commands are allowed
52 1 Marc Mengel
53 1 Marc Mengel
h2. CVS
54 1 Marc Mengel
55 1 Marc Mengel
Set CVS_RSH to /usr/bin/ssh in your environment.
56 1 Marc Mengel
57 1 Marc Mengel
    export CVS_RSH=/usr/bin/ssh
58 1 Marc Mengel
59 3 Marc Mengel
or for tcsh/csh
60 1 Marc Mengel
61 1 Marc Mengel
    setenv CVS_RSH /usr/bin/ssh
62 1 Marc Mengel
 
63 1 Marc Mengel
h2. Subversion
64 1 Marc Mengel
65 1 Marc Mengel
Subversion just uses ssh automagically.
66 1 Marc Mengel
67 1 Marc Mengel
h3. Git
68 1 Marc Mengel
69 1 Marc Mengel
Git just uses ssh automagically.