升级GitLab 11-> gt; gt; gt; gt; gt; gt;时; 14

发布于 2025-01-31 03:51:07 字数 513 浏览 1 评论 0原文

感谢您的帮助。我将一个旧的gitlab 11.9.4实例升级到gitlab 14.1.x(全部使用dockers),我已经浏览了所有所需的升级路径和中间版本,并且一切正常运行。

我遇到的唯一问题是,使用SSH连接到我的GitLab的用户现在遇到了“远程主机识别已更改”和“可能检测到的DNS欺骗”的错误。 我觉得为什么会发生这种情况,因为我将旧 /etc /ssh dir的所有钥匙复制到了新的钥匙。

我阅读了有关删除已知_host文件的建议,我想避免这种情况。我确实尝试了一下是为了看看有什么区别,似乎在新的gitlab实例中,我在已知_ host文件中获得的“ hostName”是由hostName和ip组成的下一种格式:>“ < hostName>< ip> ....“。 这与较旧的gitlab实例形成鲜明对比,其中nown_host中的主机名只是< hostName> - 我认为这可能是问题。

有人遇到了这个问题吗?非常感谢您的帮助。

谢谢!

I would appreciate your assistance. I upgraded an old Gitlab 11.9.4 instance to Gitlab 14.1.x (all using dockers), I have gone through all the upgrade path and middle versions that are required and everything is working rather smoothly.

The only issue I am encountering is that users that connected to my Gitlab using SSH are now getting an error of "Remote Host Identification has Changed" and "Possible DNS Spoofing Detected".
I am at a loss to why is it happening because I copied all the keys from my old /etc/ssh dir to the new one.

I read about the suggestions to delete the known_hosts files, I would like to avoid that. I did try it just to see what the difference is and it seems that in the new Gitlab instance, the "hostname" that I get in the known_hosts file is composed of both the hostname and the IP in the next format: "<hostname>,<ip> ....".
This is in contrast to the older gitlab instance where the hostname in known_hosts is just the <hostname> - I assume this might be the issue.

Has anyone has encountered this issue? Would really appreciate your help.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文