Unable to access any repo under my newly created Org

I recently created a private org account where I am the sole member & admin. I created couple of repositories under it. But when I try to push to/pull from those repositories, I get an access error as below

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

Please make sure you have the correct access rights
and the repository exists.

To add more details:

  • I am the admin of the org & both the repositories
  • I have tried creating new SSH keys & adding it under my SSH key setting account
  • I am able to modify my personal & public repositories with my SSH keys (those aren’t under org account)

Any help in pointing me what I could be missing?

1 Like

:wave: Welcome!

My first guess would be that you have more than one GitHub account and you are logging in as the wrong one.

If you’re willing (and as long as there is no sensitive information in it), could you share the entire command you’re using as well as the full output? That would give us more to work with. Copied from Terminal, no passwords should be visible.

If you’d prefer not to share that on the forums, get in touch with email support:

https://support.github.com/contact

1 Like