I have received the following error multiple times:
Could not read remote repository. Please make sure you have the correct access rights and the repository exists.
I am very confused about how to remedy this error.
I have received the following error multiple times:
Could not read remote repository. Please make sure you have the correct access rights and the repository exists.
I am very confused about how to remedy this error.
If you have updated you OSX recently you have to call
ssh-add -A
. Have a look at this answer: https://apple.stackexchange.com/questions/254468/macos-sierra-doesn-t-seem-to-remember-ssh-keys-between-rebootsif you want to push/pull any repository from local to remote(git hub)
first checkout
working fine with username and passwd credential
this means you need to add id_rsa.pub to authorized_keys
goto
github-->settings--->ssh---->add new key---->id_rsa.pub
I had a similar issue, Until I realized, I was running my machine through a proxy address for my internet connection and it happens to close the host connection. This could be one of the few reasons too.