First of all: I'm running Windows. I know... I know I shouldn't, but
don't run away screaming anyway. I would like some help. When I type
'git push origin master' in my commandline I am getting the following
error message:

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

I do understand _what_ this means, but I have no idea _why_ this
happens. Let me explain what I've done. First of all I created a
repository at GitHub. Then I did 'git init', 'git add .', 'git commit -
a -m "..."',  and then 'git remote add origin [EMAIL PROTECTED]:user/
repo.git'.

Before pushing I went to the msysgit batch and did 'ssh-keygen -C
"[EMAIL PROTECTED]" -t rsa' and generated my public key. Then I went to C:
\Documents and Settings\David\.ssh\id_rsa.pub copied the content of
the file, went to GitHub and added a new SSH Public Key, called it
home, pasted the content, and saved.

I also did:

git config --global user.name "..."
git config --global user.email "..."
... github.user "..."
... github.token "..."

The last two just to be on the safe side. Anyway I'm stilling getting
the error message when typing 'git push origin master'. What do I
miss? Any help appreciated. :)

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