OpenSSH 连接问题

发布于 2024-09-03 20:15:33 字数 359 浏览 7 评论 0原文

我正在尝试使用 Putty 0.60 登录 OpenSSH 5.3 服务器。可以从另一台 Linux 服务器与 openssh 连接,但 Putty 失败。 Putty 的事件日志告诉我在 DH 密钥交换后“软件导致连接中止”,服务器日志没有报告任何内容(设置为 INFO)。我用 Wireshark 分析了流量,并在密钥交换后得到了一大堆“TCP 重传”和“TCP DUP ACK”。 有时我能够登录,但在某些时候(通常小于 2 分钟)连接冻结,没有任何记录的消息。遗憾的是,我没有捕捉到任何痕迹。

服务器是我自己的(Funtoo with genkernel 和 gentoo-sources 2.6.34),所以我可能会调整它,但我仍然想知道是什么导致了错误。有什么建议吗?谢谢你!

I'm trying to use Putty 0.60 to log in to an OpenSSH 5.3 server. Connections with openssh from another Linux server are possible, but Putty fails. Putty's event log tells me "software caused connection abort" right after the DH key exchange, the server log doesn't report anything (set to INFO). I analyzed the traffic with Wireshark and got a whole bunch of "TCP retransmission" and "TCP DUP ACK" after said key exchange.
Sometimes I was able to log in, but at some point (usually < 2 min.) the connection froze without any logged messages. Sadly, I didn't capture a trace.

The server is my own (Funtoo with genkernel and gentoo-sources 2.6.34), so I may tweak it, but I'd still like to know what causes the error. Any suggestions? Thank you!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泼猴你往哪里跑 2024-09-10 20:15:33

好吧,这很奇怪。

问题的原因是网络 BIOS 设置:指定的静态 IP 和 NIC = 共享 (Broadcom Extreme II) - 有问题的系统是 Dell Blade。通过这些设置,我以某种方式最终获得了 IP 的多个 MAC 地址 - 这终止了我的 SSH 连接。老实说,我希望这对其他人有帮助......

Ok, that was weird.

The problems cause was a network BIOS setting: a specified static IP and NIC = shared (Broadcom Extreme II) - system in question is a Dell Blade. By these settings, I somehow ended up with multiple MAC addresses for the IP - which killed my SSH connections. I honestly hope this helps somebody else...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文