If you happen to obtain the next error when making an attempt to clone a Git repository:
deadly: Couldn't learn from distant repository.
The total message could look one thing like this:
$ git clone [email protected]:org/repo.git Cloning into 'repo'... Dangerous proprietor or permissions on /Customers/ao/.ssh/config deadly: Couldn't learn from distant repository. Please be sure you have the proper entry rights and the repository exists.
The best way to resolve this error
id_rsa is a ssh key related to the repo.
If you happen to get the next error at this stage:
Couldn't open a connection to your authentication agent., then you definately first must run the next:
eval `ssh-agent -s`
eval $(ssh-agent -s)
Permissions 0777 for ‘/Customers/ao/.ssh/id_rsa’ are too open
If you happen to get this permissions error, then you possibly can repair the
id_rsa permissions by doing this:
chmod 0400 ~/.ssh/id_rsa