【发布时间】:2015-09-23 19:34:25
【问题描述】:
我已经使用以下方法生成了一个 ssh 密钥
ssh-keygen -t rsa -C "your_email@example.com"
我还在我的 github 设置中添加了 ssh 密钥。
但是,当我尝试克隆时,我收到此错误消息
Initialized empty Git repository in /home/somepath/.git/
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/somelink.git/info/refs
fatal: HTTP request failed
同样的工作在另一台笔记本电脑上
【问题讨论】:
-
fatal: HTTP request failed你确定你从github复制了SSH url吗?
标签: github ssh ssh-keygen