When I want to push to github with this command
git push origin master
I got this
Permission denied (publickey).
fatal: The rem
I was able to resolve this issue as follows:
When you do:
ssh-keygen -t rsa
it prompts you to (optionally) enter a filename for saving the generated keys. Specifying a filename wasted my whole day! Next day I let it use the default filename and the problem(s) disappeared! Imagine!!
Platform was Win7 and msysgit.