tags:

views:

89

answers:

1

I am new to git and when I try to upload my newly created repository to github I get the message:

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

: Any idea what this means?

+3  A: 

Did you forget to add your public key to the github project settings? Also check to make sure your private key is in your .ssh directory.

Goto https://github.com/[username here]/[project name here]/edit and make sure your public key is set.

Read this too: http://help.github.com/mac-key-setup/

Felix Khazin
Thanks. This worked!
Zubair