DEV Community

Discussion on: PS git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Collapse
 
phlash profile image
Phil Ashby

That form of Git URL relies on SSH to authenticate the user, more here: docs.github.com/en/authentication/...

You may not need to be authenticated, in which case you should use the https://... form of URL.

As one of the many dev.to moderators, can I suggest the following things that could help you find the right people:

  • Use hashtags relevant to the problem, eg: #github #authentication for this question
  • Provide context (what are you trying to do?) and as much detail as you can (tools, operating system, error messages, etc.)

I hope you get things sorted 😄