Project

General

Profile

Windows » History » Version 18

Marc Mengel, 02/24/2010 04:55 PM

1 1 Marc Mengel
h1. Windows
2 1 Marc Mengel
3 5 Marc Mengel
There are numerous graphical front ends to the various packages on Windows; regardless which
4 5 Marc Mengel
front-end you choose, you will need to configure the back-end part below.
5 5 Marc Mengel
6 5 Marc Mengel
h2. Front ends
7 5 Marc Mengel
8 5 Marc Mengel
* http://www.tortoisecvs.org/
9 5 Marc Mengel
* http://code.google.com/p/tortoisegit/
10 5 Marc Mengel
* http://tortoisesvn.tigris.org/
11 5 Marc Mengel
* http://www.eclipse.org/
12 10 Marc Mengel
* http://www.wincvs.org/
13 10 Marc Mengel
* http://cola.tuxfamily.org/
14 5 Marc Mengel
15 5 Marc Mengel
h2. Back Ends
16 5 Marc Mengel
17 15 Marc Mengel
For write access to  repositories on cdcvs, I am currently recommending that users use the old GetCert bundle and the ssh in there if you want an old, tried and true setup.
18 1 Marc Mengel
19 1 Marc Mengel
Then there are a few steps to get things setup:
20 14 Marc Mengel
21 15 Marc Mengel
# Install the contents of kca.zip in a directory.
22 17 Marc Mengel
# Create three environment variables
23 17 Marc Mengel
## (local) KRB5CCNAME = C:\Users\yourUsername\AppData\Local\Temp\krb5_cc_cache Notes: Requires full read/write access. There may also be an issue with spaces in the file name and/or path.
24 17 Marc Mengel
## (system) KRB5_CONFIG = [Path from step 1 above]\krb5.conf
25 17 Marc Mengel
## (system) CVS_RSH = [Path from step 1 above]\ssh.exe
26 18 Marc Mengel
 by doing:
27 16 Marc Mengel
#* Right-click My Computer, and then click Properties.
28 16 Marc Mengel
#* Click the Advanced tab.
29 16 Marc Mengel
#* Click Environment variables.
30 1 Marc Mengel
#* Click one the following options, for either a user or a system variable:
31 16 Marc Mengel
#** Click New to add a new variable name and value.
32 14 Marc Mengel
#** Click an existing variable, and then click Edit to change its name or value.
33 15 Marc Mengel
#** Click an existing variable, and then click Delete to remove it.
34 17 Marc Mengel
35 14 Marc Mengel
# Changes to NetID manager — NetIDSetup.jpg
36 14 Marc Mengel
## Open Network Identity Manager
37 14 Marc Mengel
## Double click your default identify (username@FNAL.GOV)
38 1 Marc Mengel
## Click "Identify configuration"
39 1 Marc Mengel
## Select the Kerberos V5 tab
40 1 Marc Mengel
## Change the Credential cache location to file: plus the value of the KRB5CCNAME environment variable set in step 2.1 above.  See screen shot example.
41 2 Marc Mengel
## Close all open windows then renew your the credentials for username@fnal.gov.
42 7 Marc Mengel
## Verify your tickets by opening a DOS window and entering klist.  See screen shot example.
43 2 Marc Mengel
44 12 Marc Mengel
h2. Check if it works:
45 2 Marc Mengel
46 16 Marc Mengel
try to login on the server with  ssh. In a cmd.exe window:
47 16 Marc Mengel
<pre>
48 16 Marc Mengel
ssh p-project@cdcvs.fnal.gov echo hi
49 16 Marc Mengel
</pre>
50 3 Marc Mengel
(where "project" is your project name). You should get 
51 3 Marc Mengel
52 3 Marc Mengel
   Only 'lscvs' and 'cvs' commands are allowed
53 1 Marc Mengel
54 3 Marc Mengel
h2. CVS
55 3 Marc Mengel
56 3 Marc Mengel
57 3 Marc Mengel
58 1 Marc Mengel
h2. Subversion
59 2 Marc Mengel
60 3 Marc Mengel
Configure Subversion to use plink/ssh  for “svn+ssh” uri.
61 2 Marc Mengel
62 2 Marc Mengel
    * Edit the file c:\Documents and Settings\user\Application Data\Subversion\config
63 8 Marc Mengel
      (with your username for "user")
64 2 Marc Mengel
    * Locate the section named [tunnels]
65 2 Marc Mengel
    * Add the following line :
66 2 Marc Mengel
67 2 Marc Mengel
      ssh=c:/path/to/plink.exe 
68 2 Marc Mengel
69 9 Marc Mengel
      for the Putty setup, or for ssh
70 1 Marc Mengel
71 1 Marc Mengel
      ssh=c:/path/to/ssh.exe
72 3 Marc Mengel
73 3 Marc Mengel
74 3 Marc Mengel
h3. Git
75 3 Marc Mengel
76 4 Marc Mengel
Set GIT_SSH in your environment to C:\path\to\plink.exe or C:\path\to\ssh.exe in your windows environment:
77 3 Marc Mengel
78 3 Marc Mengel
# Right-click My Computer, and then click Properties.
79 3 Marc Mengel
# Click the Advanced tab.
80 3 Marc Mengel
# Click Environment variables.
81 3 Marc Mengel
# Click one the following options, for either a user or a system variable:
82 3 Marc Mengel
83 3 Marc Mengel
          * Click New to add a new variable name and value.
84 3 Marc Mengel
          * Click an existing variable, and then click Edit to change its name or value.
85 3 Marc Mengel
          * Click an existing variable, and then click Delete to remove it.
86 6 Marc Mengel
87 6 Marc Mengel
h3. Related files