Re: cvs/ssh
Re: cvs/ssh
- Subject: Re: cvs/ssh
- From: T Reaves <email@hidden>
- Date: Sat, 3 Jan 2004 11:33:11 -0500
Cool! That worked for me! I had even had the CVS_RSH variable set in
.MacOSX/environment.plist, to no avail. Thanks much!
Now if they'll only add support for Subversion...
On Jan 3, 2004, at 3:44 AM, Mark Lentczner wrote:
> Okay, I just got this all working, and I think I might know what the
> trick is:
>
> Set up:
> SSH Agent 1.0.3 (yes, not ssh-agent, though the former uses the
> later)
> - enable "Make Global Agent" in preferences
> - add environment variable "CVS_RSH" w/value "ssh" in preferences
> - log out and in again (the above two changes only take on log-in)
> - start it up and add what ever identities you need for CVS
>
> Command line:
> - check out your project from cvs:
> XCode needs to see the CVS/Repository and CVS/Root files in the
> project
> directory to configure itself, so you need to "prime the pump"
> by doing
> the first check out by hand.
> - command is probably something like:
> "cvs -z3
> -d:ext:email@hidden:/cvsroot/your_project co
> modulename"
> - note: your ssh key should be used automatically thanks to SSH
> Agent
>
> XCode 1.1 (via update from 1.0)
> - launch the project (or create one) in the project dir. that was
> checked out of cvs
> - select the project itself in the XCode main project window, and
> Show Info
> - on the "General" tab at the bttom, check Enable SCM and choose
> CVS
> - click the "Edit" button to the right of the SCM System pop-up
> and:
> *** UNCHECK "Use ssh instead of rsh for external connections" ***
>
> I don't know why, but this was the magic bullet for me! While I think
> this check box basically causes XCode to do what the "CVS_RSH=ssh"
> environment variable does, it does it in a way that seems to ignore
> ssh-agent (as started by SSH Agent or as started by hand) and requires
> a password (I think it's forcing SSH to use password authentication
> rather than with public key authentication).
>
> So, to summarize:
> 1) Use SSH Agent to get ssh-agent running, and to have the ssh-agent
> environment variables available to XCode
> 2) Use SSH Agent to also set the CVS_RSH environment variable to ssh
> (again, so it is available to XCode)
> 3) Check out your project the first time via the shell (or some
> graphical CVS client)
> 4) **Uncheck** XCode's "Use ssh instead of rsh..." when configuring
> CVS in XCode
>
> Hope this helps...
> - Mark
>
> Mark Lentczner
> http://www.ozonehouse.com/mark/
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: cvs/ssh (From: Mark Lentczner <email@hidden>) |