[GH-ISSUE #2649] ssh登录堡垒机跳转服务器后,短暂时间后ssh连接断开,无论当时是否在操作 #1728

Open
opened 2026-02-27 00:04:37 +03:00 by kerem · 3 comments
Owner

Originally created by @NeverMorewhz on GitHub (Sep 29, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2649

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-xx.xx.xx-mac-arm64.dmg

Platform detail (平台详情)

Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64

What steps will reproduce the bug?(重新问题的详细步骤)

通过ssh连接堡垒机后,使用root账号登录某个服务器,会在一段时间后直接断开连接。断开时,终端还在打印日志,或者在进行操作,依然会直接断开。

What should have happened?(期望的结果)

不断开ssh链接

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

堡垒机跳转其他服务器后,几分钟后断开必现

Additional information(其他任何相关信息)

终端连接丢失

Originally created by @NeverMorewhz on GitHub (Sep 29, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2649 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-xx.xx.xx-mac-arm64.dmg ### Platform detail (平台详情) Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64 ### What steps will reproduce the bug?(重新问题的详细步骤) 通过ssh连接堡垒机后,使用root账号登录某个服务器,会在一段时间后直接断开连接。断开时,终端还在打印日志,或者在进行操作,依然会直接断开。 ### What should have happened?(期望的结果) 不断开ssh链接 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 堡垒机跳转其他服务器后,几分钟后断开必现 ### Additional information(其他任何相关信息) ![终端连接丢失](https://user-images.githubusercontent.com/11847788/192928536-4cb51a85-49c5-4059-b1f2-474af9a9fe71.png)
Author
Owner

@zxdong262 commented on GitHub (Oct 2, 2022):

设置里keepalive改的短一些试试?

<!-- gh-comment-id:1264519534 --> @zxdong262 commented on GitHub (Oct 2, 2022): 设置里keepalive改的短一些试试?
Author
Owner

@xiaofeige commented on GitHub (Mar 15, 2023):

碰到的问题一样,keepalive 改到最短1000ms也没用

<!-- gh-comment-id:1469265001 --> @xiaofeige commented on GitHub (Mar 15, 2023): 碰到的问题一样,keepalive 改到最短1000ms也没用
Author
Owner

@zxdong262 commented on GitHub (Sep 21, 2023):

https://github.com/electerm/electerm/issues/2998 最新版支持设为0,这个案例设为0解决了,可以试试

<!-- gh-comment-id:1729349586 --> @zxdong262 commented on GitHub (Sep 21, 2023): https://github.com/electerm/electerm/issues/2998 最新版支持设为0,这个案例设为0解决了,可以试试
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1728
No description provided.