[Solved] fatal: Could not read from remote repository with Git
If you receive the following error when trying to clone a Git repository:
fatal: Could not read from remote repository.
The full message may look something like this:
How to solve this error
|
|
where id_rsa
is a ssh key associated with the repo.
If you get the following error at this stage: Could not open a connection to your authentication agent.
, then you first need to run the following:
|
|
or:
|
|
Permissions 0777 for ‘/Users/ao/.ssh/id_rsa’ are too open
If you get this permissions error, then you can fix the id_rsa
permissions by doing this:
|
|