Git : fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists

Napster

I am getting this error -

D:\Projects\wamp\www\REPO [master]> git pull origin master
Warning: Permanently added 'github.com,192.30.252.128' (RSA) to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.

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

The output of git remote -v

D:\Projects\wamp\www\REPO [master]> git remote -v
origin  [email protected]:username/repo.git (fetch)
origin  [email protected]:username/repo.git (push)

Final message of ssh -Tv [email protected] command -

Hi [My Username]! You've successfully authenticated, but GitHub does not provide shell access.

How can I solve it?

VonC

I asked in the discussion:

does ssh -T [email protected] ouput the same username (in Hi [My Username]!) as in the one used for the ssh url of your repo ([email protected]:username/repo.git)?

Sorry It not showing same name

That means somehow the credentials have changed.

One solution would be to at least copy %HOME%\.ssh\id_rsa.pub in the SSH keys section of the right GitHub account

The OP adds:

I am working on private repo. So In [email protected]:username/repo.git,

I replied:

If you were able to clone/push to that repo whose username is not your own GitHub account, that must be because you had your previous public ssh key added as a contributor to that repo by the repo's owner.

What next is to ask that same repo owner to add your current public ssh key %HOME%\.ssh\id_rsa.pub to the repo contributor list.
So check with the owner that you (meaning your public ssh key) are declared as a contributor.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Source Tree connecting to VSTS GIT Could not read from remote repository. Please make sure you have the correct access rights

From Java

git: fatal: Could not read from remote repository

From Dev

git Connection abandoned, fatal: Could not read from remote repository

From Dev

CentOS: Git: "fatal: could not read from the remote repository"

From Dev

Git: Permission denied (publickey). fatal: Could not read from remote repository

From Java

Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

From Dev

git clone: "remote: The namespace you were looking for could not be found." ... "fatal: Could not read from remote repository."

From Java

Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

From Dev

Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

From Java

Can't git push to Bitbucket: Unauthorized - fatal: Could not read from remote repository

From Dev

Using GIT Bash, ERROR: Repository not found - fatal: Could not read from remote

From Dev

Error $ git pull --rebase Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

From Dev

A strange "fatal: Could not read from remote repository." with crontab

From Dev

GitHub: Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Permission denied (publickey). fatal: Could not read from remote repository

From Dev

A strange "fatal: Could not read from remote repository." with crontab

From Dev

git clone error. Read from socket failed: Connection reset by peer fatal: Could not read from remote repository

From Dev

Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

From Dev

Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

From Dev

conq: repository does not exist. fatal: Could not read from remote repository

From Java

git with IntelliJ IDEA: Could not read from remote repository

From Dev

git push heroku: Could not read from remote repository

From Dev

Failed with error: Could not read from remote repository || git

From Dev

fatal: Could not read from remote repository. When I push my local repo to remote server

From Dev

Could not read from remote repository. SwiftyDropbox

From Dev

Could not read from remote repository. SwiftyDropbox

From Dev

Could not read from remote repository https

From Dev

can't pull changes from github - Permission denied (publickey). fatal: Could not read from remote repository

Related Related

  1. 1

    Source Tree connecting to VSTS GIT Could not read from remote repository. Please make sure you have the correct access rights

  2. 2

    git: fatal: Could not read from remote repository

  3. 3

    git Connection abandoned, fatal: Could not read from remote repository

  4. 4

    CentOS: Git: "fatal: could not read from the remote repository"

  5. 5

    Git: Permission denied (publickey). fatal: Could not read from remote repository

  6. 6

    Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

  7. 7

    git clone: "remote: The namespace you were looking for could not be found." ... "fatal: Could not read from remote repository."

  8. 8

    Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

  9. 9

    Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

  10. 10

    Can't git push to Bitbucket: Unauthorized - fatal: Could not read from remote repository

  11. 11

    Using GIT Bash, ERROR: Repository not found - fatal: Could not read from remote

  12. 12

    Error $ git pull --rebase Permission denied (publickey). fatal: Could not read from remote repository

  13. 13

    Git Clone : Permission denied (publickey). fatal: Could not read from remote repository

  14. 14

    A strange "fatal: Could not read from remote repository." with crontab

  15. 15

    GitHub: Permission denied (publickey). fatal: Could not read from remote repository

  16. 16

    Permission denied (publickey). fatal: Could not read from remote repository

  17. 17

    A strange "fatal: Could not read from remote repository." with crontab

  18. 18

    git clone error. Read from socket failed: Connection reset by peer fatal: Could not read from remote repository

  19. 19

    Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

  20. 20

    Clone the repository from Codebase Permission denied (publickey). fatal: Could not read from remote repository

  21. 21

    conq: repository does not exist. fatal: Could not read from remote repository

  22. 22

    git with IntelliJ IDEA: Could not read from remote repository

  23. 23

    git push heroku: Could not read from remote repository

  24. 24

    Failed with error: Could not read from remote repository || git

  25. 25

    fatal: Could not read from remote repository. When I push my local repo to remote server

  26. 26

    Could not read from remote repository. SwiftyDropbox

  27. 27

    Could not read from remote repository. SwiftyDropbox

  28. 28

    Could not read from remote repository https

  29. 29

    can't pull changes from github - Permission denied (publickey). fatal: Could not read from remote repository

HotTag

Archive