克隆GitLab存储库主机密钥验证失败。致命:无法从远程存储库中读取
我正在尝试使用Visual Studio克隆存储库,但是此消息显示
Host key verification failed.
fatal: Could not read from remote repository.
我已经创建了一个SSH键并复制了Pub键
ssh-keygen
cat /c/Users/Toshiba/.ssh/id_rsa.pub
并将其添加到我的Gitlab帐户中 当我尝试从git bash上获得冠军时,我会明白
The authenticity of host 'gitlab.com (2606:4700:90:0:f22e:fbec:5bed:a9b9)' can't be established.
ED25519 key fingerprint is SHA256:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])?
我该怎么办?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
键入是一回事。但是,如果提出的指纹确实是远程gitlab服务器之一,那么首先检查是明智的。
gitlab.com
在这里显示。既然您看到的(
sha256:euxggm1ygsmas7vkcx6jojdoghpem5gqp4gqp4taicfclb8
)与其中之一匹配,则可以输入是,并更新自己的c/users/users/toshiba/toshiba/.ssh/.ssh/newor_hosts
文件。有一个建议(第25142期)以揭露这些指纹在服务器端,用 a href =“ https://gitlab.com/gitlab-org/gitlab-foss/-/commit/f913f7a1caa492fdaa06c4ebe0111a01a0800799ff800799ff8f8f8f8f8f8f8f”
Typing yes is one thing. But it is sensible to check first if the fingerprint proposed is indeed the one of the remote GitLab server.
The ones for
gitlab.com
are shown here.Since what you see (
SHA256:eUXGGm1YGsMAS7vkcx6JOJdOGHPem5gQp4taiCfCLB8
) matches one of those, you can type yes, and update your ownc/Users/Toshiba/.ssh/known_hosts
file.There is a proposal (issue 25142) to expose those fingerprints on the server side, implemented with MR 13850 (and commit f913f7a) in GitLab 10.2 (Nov. 2017).