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,011
  • 5
  • 42
  • 68

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
  • 33,887
  • 10
  • 78
  • 112
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755