为什么我会收到这条消息?
无法确定主机“gitlab.com (35.231.145.151)”的真实性。
我在 https://docs.gitlab.com/ee/user/gitlab_com/ 上找不到那个 IP
最佳答案
I can't find that IP
您提到的页面仅包含 GItLab 页面的 IP。
不过,它确实包括 SSH 主机 key 指纹。
所以一定要输入"is",接受 gitlab.com 的真实性,然后输入你的 ~/.ssh/known_hosts 文件,并检查它是否包含 SSH host keys fingerprints listed in the documentation 之一.
关于git - 无法建立主机 'gitlab.com (35.231.145.151)' 的真实性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60129930/