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¶
- http://www.tortoisecvs.org/
- http://code.google.com/p/tortoisegit/
- http://tortoisesvn.tigris.org/
- http://www.eclipse.org/
- http://www.wincvs.org/
- http://cola.tuxfamily.org/
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:
- Install the contents of kca.zip in a directory.
- Create three environment variables
- (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.
- (system) KRB5_CONFIG = [Path from step 1 above]\krb5.conf
- (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.
- Changes to NetID manager — NetIDSetup.jpg
- Open Network Identity Manager
- Double click your default identify (username@FNAL.GOV)
- Click "Identify configuration"
- Select the Kerberos V5 tab
- 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.
- Close all open windows then renew your the credentials for username@fnal.gov.
- 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:
- 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.