ssh-key and cvs password in XCode
ssh-key and cvs password in XCode
- Subject: ssh-key and cvs password in XCode
- From: Massimo Marino <email@hidden>
- Date: Sun, 17 Oct 2004 11:01:06 +0200
On Oct 15, 2004, at 9:10 PM, email@hidden wrote:
From: "Marcus S. Zarra" <email@hidden>
Date: October 14, 2004 9:57:06 PM CEST
To: Markian Hlynka <email@hidden>
Cc: XCode Users <email@hidden>
Subject: Re: cvs password
Unfortunately, XCode is ignoring my existing key pair when talking to this server. Otherwise I would :) I can ssh into the server just fine from the terminal but XCode still demands a password.
It can be made to work just nicely. The way you do it is to either launch Xcode from the terminal windows where your environment is set up correctly (so that XCode inherits it using 'open -a Xcode') or by setting CVS_RSH=ssh in your local environment plist so that it is read at login time.
Using 'open -a Xcode' in some cases (I could not find the time to understand/investigate why some configuration require that) you may find yourself in need of running ssh-agent and add your existing keys to have Xcode acknowledge and use existing ssh-keys.
Note that the plist is only read at login so that after creating it you need to log out to feel the effects. For CVS_RSH you need a ~/.MacOSX directory (note the dot) containing the file environment.plist .
For one single variable this last looks like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/Pr
opertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CVS_RSH</key>
<string>ssh</string>
</dict>
</plist>
additional variables are defined as entry pairs of <key> / <strin> .
Cheers
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden