Windows » History » Version 29
« Previous -
Version 29/40
(diff) -
Next » -
Current version
Marc Mengel, 08/27/2010 10:14 AM
Windows¶
[ Please help debug these instructions! Send comments/corrections! ]
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/ [Note that Eclipse's Git backend currently ignores GIT_SSH...]
- 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 (linked at the bottom of this page) in C:\PROGRA~1\KCA
- Create some environment variables
- (local) KRB5CCNAME = FILE: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.
The FILE: part really goes in there, not just the pathname, and it must be upper case. - (system) KRB5_CONFIG = C:\PROGRA~1\KCA\krb5.conf
- (system) CVS_RSH = C:\PROGRA~1\KCA\ssh.exe
- (system) GIT_SSH = C:\PROGRA~1\KCA\ssh.exe
- (system) SVN_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.
- (local) KRB5CCNAME = FILE:C:\Users\yourUsername\AppData\Local\Temp\krb5_cc_cache
- 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 the value of the KRB5CCNAME environment variable set in step 2.1 above (including the FILE: part). 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:
%CVS_RSH% 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