【发布时间】:2021-09-23 08:37:57
【问题描述】:
我无法在特定项目中执行git push 命令,但是,在其他项目中一切顺利,我不知道还能做什么。我有一个密钥,这个密钥是在 GitHub 上注册的,显然代理正在工作。
这是我尝试git push时的结果:
username@lenovo-ideapad-s145:~/development/projects/Learning-Laravel$ git push
sign_and_send_pubkey: signing failed for ED25519 "/home/username/.ssh/id_ed25519" from agent: agent refused operation
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我已阅读文档,但对我帮助不大。
【问题讨论】:
标签: git github ssh-keys ssh-agent