【发布时间】:2018-08-08 12:45:44
【问题描述】:
我正在关注this guide 第 12 步,了解如何在远程服务器上设置推送到生产。
当我尝试 git push production master 时出现访问被拒绝错误。
user@example.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 root@example.com 登录。
我在 Windows 上使用 Putty 和 Laragon。
【问题讨论】:
-
你能和我们分享一下实际错误信息吗?
-
更新原帖
-
不知道为什么这被否决了。我问错了吗?