1. Error Details
Registered a new github account, after you finish adding ssh public key, push when the newspaper is still insufficient permissions ,
specific information:
Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
2. Solution
- Open a terminal
- Enter the following command
ssh-add
- Then enter the password again push the code after a carriage return. success! ! !