Project

General

Profile

Windows » History » Version 19

« Previous - Version 19/40 (diff) - Next » - Current version
Marc Mengel, 02/24/2010 04:56 PM


Windows

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 the old GetCert bundle and the ssh in there if you want an old, tried and true setup.

Then there are a few steps to get things setup:

  1. Install the contents of kca.zip in a directory.
  2. Create three environment variables
    1. (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.
    2. (system) KRB5_CONFIG = [Path from step 1 above]\krb5.conf
    3. (system) CVS_RSH = [Path from step 1 above]\ssh.exe
      by doing:
      • Right-click My Computer, and then click Properties.
      • Click the Advanced tab.
      • Click Environment variables.
      • Click one the following options, for either a user or a system variable:
        • Click New to add a new variable name and value.
        • Click an existing variable, and then click Edit to change its name or value.
        • Click an existing variable, and then click Delete to remove it.
  1. Changes to NetID manager — NetIDSetup.jpg
    1. Open Network Identity Manager
    2. Double click your default identify ()
    3. Click "Identify configuration"
    4. Select the Kerberos V5 tab
    5. 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.
    6. Close all open windows then renew your the credentials for .
    7. Verify your tickets by opening a DOS window and entering klist. See screen shot example.

Check if it works:

try to login on the server with ssh. In a cmd.exe window:

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

Subversion

Configure Subversion to use plink/ssh for “svn+ssh” uri.

  • Edit the file c:\Documents and Settings\user\Application Data\Subversion\config
    (with your username for "user") * Locate the section named [tunnels] * Add the following line :
ssh=c:/path/to/plink.exe 
for the Putty setup, or for ssh
ssh=c:/path/to/ssh.exe

Git

Set GIT_SSH in your environment to C:\path\to\plink.exe or C:\path\to\ssh.exe in your windows environment:

  1. Right-click My Computer, and then click Properties.
  2. Click the Advanced tab.
  3. Click Environment variables.
  4. Click one the following options, for either a user or a system variable:
    • Click New to add a new variable name and value. * Click an existing variable, and then click Edit to change its name or value. * Click an existing variable, and then click Delete to remove it.

Related files