Why can't git push origin master run github?

Here are the steps I took.

  • I created a repository on github and
  • created a rails project on my windows vista home premium (which has msys git 1.7.0.2).
  • git init
  • Then I committed the generated files
  • git remote add source git @ github.com: anjanb / Jobs2Go.git
  • git press start of original

In the fifth step, I get the following error. Msgstr "Permission denied (publickey). Fatal: remote end hangs up unexpectedly

I vaguely remember the following sshgen steps that I took when I created my first github repository, but I forgot what it was.

Can someone tell me what I did wrong, what I need to do correctly.

Thanks,

+4
source share
2 answers
+6
source

Here is the SSH keys reference page

+1
source

Source: https://habr.com/ru/post/1307757/


All Articles