On Sun, Dec 7, 2008 at 1:37 PM, Michael Larocque <[EMAIL PROTECTED]> wrote:
> Hi folks, Hi Mike, > I'm not even sure where to start on this one. > I've just tried to pull from a client's github repos: > ~/work/client1(master) $ git pull > ERROR: Permission to client/repo denied to client2 > fatal: The remote end hung up unexpectedly This means you are sending GitHub the private key associated with client2 while trying to access client1. GitHub thinks you are client2 and, because client2 does not have access to client1, you are being denied. > client2 is another of my clients who happens to have a private repo on > github that I've logged into and worked on as client2 as well as myself > (mlarocque). > I've even tried to clone one of my own public repos, and I get the same > 'denied to' error message. > It seems that something is being cached somewhere, but I'm at a loss as to > where. I'm open to any suggestions anyone might have. When using GitHub, you only ever need a single private key. That should be associated with your mlarocque account (you can add private keys using the 'account' page at http://github.com/account). What you want to do is have client1 and client2 add you as a collaborator to their respective repositories. Have them open their repository on github.com and hit the 'edit' button (http://img.skitch.com/20081207-rwp517dsw1qa1dte352qxhq4di.png) then the 'collaborators' subtab (http://img.skitch.com/20081207-nqp718biqnqyxka979533dpt55.png). Once they add you (http://img.skitch.com/20081207-g7q78hxrryn722y3pgjfp43bcm.png) you'll be able to pull and push to these projects using your own private key. As I said, you only need to mess with private and public keys once - after that, it's easy to be added or removed from projects. Hope that helps, -- Chris Wanstrath http://github.com/defunkt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
