【发布时间】:2019-04-04 02:16:49
【问题描述】:
我正在尝试将 ssh-key 添加到我的 github 帐户,但我不断收到 Host key verification failed 错误。
img 网址:https://image.ibb.co/k94mT8/PDv4oQ.jpg
我已按照以下步骤操作:https://help.github.com/articles/checking-for-existing-ssh-keys/
生成新的 SSH 密钥
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
将 SSH 密钥添加到 ssh-agent
eval $(ssh-agent -s)
将新的 SSH 密钥添加到您的 GitHub 帐户
并尝试了几乎所有相关的 stackoverflow 答案,但错误仍然存在。
我哪里做错了?
编辑:我可以使用 https 但不能使用 ssh 进行克隆。
【问题讨论】:
-
图片不可用。请在此处重新上传或描述其内容。
-
添加了图片网址。您现在可以检查。 @Polygnome
-
访问链接会出现
403 Forbidden错误。未经身份验证的用户可能没有查看图像的权限。 -
@Norx 如果图像不向公众开放,该 URL 将无济于事:“403 Forbidden Request denied by Administrative rules.”
-
很抱歉。你现在能看到吗?