Project

General

Profile

Windows » History » Version 25

« Previous - Version 25/40 (diff) - Next » - Current version
Marc Mengel, 02/24/2010 05:15 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 (linked at the bottom of this page) in C:\PROGRA~1\KCA
  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 = C:\PROGRA~1\KCA\krb5.conf
    3. (system) CVS_RSH = C:\PROGRA~1\KCA\ssh.exe
    4. (system) GIT_SSH = C:\PROGRA~1\KCA\ssh.exe
      • 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.
  3. Changes to NetID manager see 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

The CVS_RSH environment variable should make :ext: CVSROOT's work in WinCVS, TortiseCVS, etc.

GIT

The GIT_SSH environment variable should make ssh:/... repository paths work with Git tools.

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/ssh.exe

Related files