>
> -----BEGIN RSA PRIVATE KEY-----

Looks like you're trying to paste your private key, not your public one.  A
public key would look something like:

ssh-rsa AAAAB3<big string here>== [EMAIL PROTECTED]
>

--tek

On Thu, Sep 11, 2008 at 1:30 PM, toe <[EMAIL PROTECTED]> wrote:

>
> Hey all,
> I have been reading a lot of the posts trying to find a solution to my
> problem, I am not getting any where. So I thought that I would ask
> before emailing support.
>
> I have git 1.6.0.1, OS X 10.5.4. I am created my key using the
> direction on this link
> http://github.com/guides/providing-your-ssh-key
>
> When I would paste the info using the cat id_rsa.pub | pbcopy command
> I would paste in the key and it would look like this.
> -----BEGIN RSA PRIVATE KEY-----
> MY KEY
> -----END RSA PRIVATE KEY-----
>
> Originally it would not work and I would get this error.
> Oops! The key has already been taken.
>
> So I removed the BEGIN and END comments and just pasted MY KEY and it
> would accept it.
>
> Then I created a repository in my app directory added and committed
> everything locally. When that was done I tried to push it to GitHub
> and I would get the following error
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
>
> Any ideas on how to resolve this. If you need any information please
> let me know. Any help would be appreciated.
>
> Thanks,
> -toe
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to