Here are the steps I took.
- I created a repository on github
and - generated a rails project on my
windows vista home premium (which
has msys git 1.7.0.2). - git init
- I then committed the generated files
- git remote add origin
git@github.com:anjanb/Jobs2Go.git - git push origin master
On the 5th step, I get the following error.
“Permission denied (publickey).
fatal: The remote end hung up unexpectedly“
I vaguely remember following some sshgen steps I took when I created my 1st github repository but I have forgotten what it was.
Can someone point me what I did wrong, what I need to do right.
Thank you,
You need to add your public SSH-key to github.