[Biococoa-dev] CVS from XCode [solved]
Alexander Griekspoor
a.griekspoor at nki.nl
Mon Aug 16 11:41:45 EDT 2004
I'm so ashamed!
I was looking around for help on the web to get my XCode working. So
the obvious thing to do was Googling.
- Hey, someone knows how....
- An email from a certain Jim Balhoff, hmmm rings a bell doesn't it?
- Hey, it from the BioCocoa archives!
- Hey, it's directed to me ;-)
- OOPS!
[BEGIN]
>
> - There is one more thing you should do in order to make Xcode work
> with the CVS repository over ssh:
> If you’d like to use ssh without having to type your password every
> time (useful if you are accessing CVS via Xcode, for example), you’ll
> want to create a public/private key pair with the ssh-keygen command.
> The advantage of doing this is that your scripts will be able to run
> without human intervention. The disadvantage is that anyone who can
> access your account on your local Mac OS X box will also be able to
> access those remote servers which have stored your public key.
There is another way to do this, which works very well. Use SSHPassKey
to store your password in the Mac OS X keychain. It can be configured
so that Xcode will use this to get the cvs password (you don't need to
install the Project Builder plug-in mentioned in the ReadMe). Look
here:
<http://www.codefab.com/unsupported/SSHPassKey_v1.1-1-README.html>
- Jim
[END]
That did the trick indeed. The things I did to make XCode work with
BioInformatics CVS:
1 Download the program Jim pointed me to:
http://www.codefab.com/unsupported/SSHPassKey_v1.1-1.dmg
2 Copy the app to your applications folder and run it
3 Click "Configure Login Environment to use SSHPassKey
4 Log off and back in
5 Open terminal and set the environment variables and your loginname:
For Bash:
export CVS_RSH='ssh'
export CVSROOT=':ext:loginname at bioinformatics.org:/cvsroot'
For Tsch:
setenv CVS_RSH 'ssh'
setenv CVSROOT ':ext:loginname at bioinformatics.org:/cvsroot'
6 Do a checkout:
cvs checkout BioCocoa
your password will be asked (and stored by SSHPassKey in the keychain)
7 Open the project in Xcode and then follow the steps in this documents:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
Xcode_SCM/
8 SSHPassKey will ask you for your password now instead of XCode.
That should do it!!
Thanks a lot Jim, sorry for not recognizing your hints earlier...
Cheers,
Alex
Op 16-aug-04 om 1:39 heeft Alexander Griekspoor het volgende geschreven:
> John,
>
> Did you get the CVS working for you already? Perhaps you or one of the
> other can help me out here.
> Using Apple's document here:
> http://developer.apple.com/documentation/DeveloperTools/Conceptual/
> Xcode_SCM/ProjectSetup/ProjectSetup.html#//apple_ref/doc/uid/
> TP40001208
> I managed to checkout the framework and import it in XCode. Everything
> works fine (checked out ok using my username and password) but now
> XCode keeps asking me for authentication which fails every time. It
> seems this is a "known" issue if I believe this snippet from the
> following link: http://maczealots.com/tutorials/xcode-cvs/
>
> [BEGIN]
> You are also going to need to set SSH up so that it won't need to
> enter a password when accessing your repository's machine. XCode has
> some sort of issues when it comes to entering an authorization
> password that I could not get past. On your laptop enter the following
> commands
> ssh-keygen -t dsa
>
> Hit enter to accept the default values for each prompt. Next, you will
> need to copy the contents of the id_dsa.pub file so you can paste it
> into the authorized_keys file on the repository machine. On the client
> machine:
> cat ~/.ssh/id_dsa.pub
> (Copy the output)
> ssh justin at Gavin.local
> vi ~/.ssh/authorized_keys
> (Paste previous output and save the file)
>
> If you can now ssh to the repository machine without entering a
> password, you should have no trouble with XCode asking for a password.
>
> [END]
>
> I don't believe I have access to that file, but perhaps someone else
> has the answer to this question.... (I did activate ssh connections in
> Xcode)
> Thanks!
> Alex
> *********************************************************
> ** Alexander Griekspoor **
> *********************************************************
> The Netherlands Cancer Institute
> Department of Tumorbiology (H4)
> Plesmanlaan 121, 1066 CX, Amsterdam
> Tel: + 31 20 - 512 2023
> Fax: + 31 20 - 512 2029
> AIM: mekentosj at mac.com
> E-mail: a.griekspoor at nki.nl
> Web: http://www.mekentosj.com
>
> Windows is a 32-bit patch to a 16-bit shell for an 8-bit
> operating system, written for a 4-bit processor by a 2-
> bit company without 1 bit of sense.
>
> *********************************************************
>
> _______________________________________________
> Biococoa-dev mailing list
> Biococoa-dev at bioinformatics.org
> https://bioinformatics.org/mailman/listinfo/biococoa-dev
>
>
*********************************************************
** Alexander Griekspoor **
*********************************************************
The Netherlands Cancer Institute
Department of Tumorbiology (H4)
Plesmanlaan 121, 1066 CX, Amsterdam
Tel: + 31 20 - 512 2023
Fax: + 31 20 - 512 2029
AIM: mekentosj at mac.com
E-mail: a.griekspoor at nki.nl
Web: http://www.mekentosj.com
Windows is a 32-bit patch to a 16-bit shell for an 8-bit
operating system, written for a 4-bit processor by a 2-
bit company without 1 bit of sense.
*********************************************************
More information about the Biococoa-dev
mailing list