2

Upon git pull on Mac terminal to GitHub, it returns an error showing permission denied (public key)

I've looked through this earlier stack overflow thread but upon

cat id_rsa.pub | bcopy 

it shows no such file or directory. what should i do?

Community
  • 1
  • 1
santoku
  • 3,297
  • 7
  • 48
  • 76

1 Answers1

0

upon cat id_rsa.pub | bcopy it shows no such file or directory. what should i do?

  • Make sure $HOME (Linux or Mac) or %HOME% (Windows) is set.
  • Generate an ssh key (that will create $HOME/.ssh/id_rsa and $HOME/.ssh/id_rsa.pub
  • Make sure your public key is registered on the remote server side.

Follow for instance, depending on your remote repos server:

StephenKing
  • 36,187
  • 11
  • 83
  • 112
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250