Re: ssh-key and cvs password in XCode
Re: ssh-key and cvs password in XCode
- Subject: Re: ssh-key and cvs password in XCode
- From: Peter Vohmann <email@hidden>
- Date: Mon, 18 Oct 2004 23:49:43 +0200
Massimo Marino wrote:
On Oct 15, 2004, at 9:10 PM, email@hidden wrote:
From: "Marcus S. Zarra" <email@hidden>
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.
For a Mac-like experience check out Xander Schrijen's SSH Agent <http://www.phil.uu.nl/~xges/ssh/>. It sets up a socket file instead of a port number. I have it in my startup programs, but I could start or restart it manually at a later time. It'll ask me once for the passphrase for each ssh key, or use the phrase stored in my keychain.
It also allows editing the .MaxOSX environment.plist, so that Xcode will pick up CVS_RSH, and any other variables that you may require.
Nice and useful stuff, and the command line is not required (but doesn't hurt either ;).
Yours,
Peter
_______________________________________________
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