I had no problem on my Ubuntu but now that I have switched to OSX I have encountered this problem. I followed some of the solutions in the web but none helped.
monas-mbp:nlp mona$ git push origin master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Please let me know if more details should be revealed for help.
git clone" or "git pull"? The error says "publickey". Is your private key on your MacBook Pro somewhere (keychain or the id_rsa/id_dsa files)?