Re: SCM Error: Permission denied
Re: SCM Error: Permission denied
- Subject: Re: SCM Error: Permission denied
- From: email@hidden
- Date: Sun, 22 May 2005 18:39:46 -0700
I just tried rebooting, still get the error. I also tried unchecking
the ssh/rsh box and even did another reboot, still doesn't work.
What's interesting though is when I uncheck the ssh/rsh box I don't
get prompted for my passphrase and it gives me the error right away.
When I had the box checked before, it would ask me for the passphrase
just the first time after a login and not after that if I stayed
logged in and tried enabling SCM again. But with it unchecked it
never asks me for the passphrase at all, even after a fresh login.
So for me at least, the ssh/rsh checkbox does have an effect. So you
may be onto something with the SSH Keychain idea. Perhaps it's the
passphrase part that is messing it up. I'll try using SSH Keychain.
Thanks,
Eric
On May 22, 2005, at 6:15 PM, Rob Lockstone wrote:
Two things to try:
1. Reboot (not just logout/login). I don't know why, but for me at
least, this was the final step I had to do in order to get Xcode's
SCM (cvs in my case as well) to actually work. This has been true
for all versions of Xcode that I've used. Set everything up,
Xcode's SCM doesn't work. Reboot, and without changing anything, it
works. </shrug>
2. Try *unchecking* the box that says use ssh instead of rsh. I've
always had this box unchecked and it's worked fine for me.
Fwiw, I use public-private keypairs but without a passphrase (our
repository is only accessible via VPN anyway). So it's possible
that you might need something like SSH Keychain (?? I forget what
it's called) to keep feeding your passphrase to Xcode when it asks.
Although from your description, that's not the problem you're having.
Rob
On May 22, 2005, at 18:03 , email@hidden wrote:
I would like to use Xcode's SCM features but I keep getting an
error popup a few seconds after I enable SCM using CVS and enter
my passphrase with the following message:
SCM Error
Permission denied, please try again.
I get no errors to console.log or system.log. It gives me the
option to leave SCM enabled or disable it. I If I leave it
enabled I just get the same error popup later if I try to look at
the files from the SCM tab (in Info). I set the CVS tool path to
use cvs instead of ocvs and I set the checkbox to use ssh instead
of rsh. I tried it with ocvs too and I still get this error. I'm
using Xcode 2.0 on Tiger, by the way.
I have a remote repository on Sourceforge. Both CVS and SSH work
great from the command line. I did the ssh-keygen thing so all I
have to type at the command line is my passphrase. I confirmed
that this working passphrase is the same one I used when I get the
error in Xcode. I did the initial import and checkout from the
command line just like the documentation said and with no errors.
I have tried several things already such as adding CVSROOT and
CVS_RSH to my ~/.MacOSX/environment.plist and logging back in. I
also tried setting the group of the checked out files and CVS
directories to cvsusers but that didn't work either. The
directory and file permissions look ok to me - read/write to the
user and group and read-only to the world.
Although it's not the biggest deal to use the command line to
check in and out, it would be nice to get it to work in Xcode.
Any ideas?
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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