@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for ‘/Users/charles/.ssh/id_rsa’ are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key “/Users/charles/.ssh/id_rsa”: bad permissions
git@scm.starbucks.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

解决方案:降低.ssh/id_rsa 私钥文件的读写权限

chmod 0600 .ssh/id_rsa

最后修改:2022 年 05 月 26 日
如果觉得我的文章对你有用,请随意赞赏