【问题标题】:I can't do git push: git@github.com: Permission denied (publickey)我不能做 git push:git@github.com: Permission denied (publickey)
【发布时间】: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


【解决方案1】:

您不会在您的机器中配置 ssh。检查这个答案是否有帮助

GitHub Error Message - Permission denied (publickey)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-01-25
    • 2016-10-04
    • 1970-01-01
    • 2013-10-13
    • 2016-01-05
    • 2012-05-03
    • 2011-02-08
    相关资源
    最近更新 更多