小编KAE*_*EDE的帖子

如何使用 SSH 将我的存储库推送到 GitHub?

如何使用 SSH 将我的存储库推送到 Github?

为什么

我想在 PHP 学习期间在 GitHub 上托管我的存储库。

我做了什么

我将远程 url 设置为kaede0902/phpto htdocs/workspace,并尝试拉取。我用的是须藤。

错误信息

kaede@kaede-ThinkPad-T450:/opt/lampp/htdocs/workspace$ sudo git pull origin master
Warning: Permanently added the RSA host key for IP address '52.69.186.44' to the list of known hosts.
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.
Run Code Online (Sandbox Code Playgroud)

我的 ssh 网址是git@github.com:kaede0902/php.git.

我正在使用 ssh 连接其他存储库。

问题是什么?

php git ssh github htdocs

5
推荐指数
1
解决办法
9327
查看次数

标签 统计

git ×1

github ×1

htdocs ×1

php ×1

ssh ×1