[GH-ISSUE #3921] Keepalive 不生效,总是超时自动退出ssh #2707

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

Originally created by @lidelu on GitHub (Apr 25, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/3921

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

electerm-1.72.48-win-x64.tar.gz

Platform detail (平台详情)

Windows 10.0.19045.0 x64

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

electerm的版本是electerm-1.72.48-win-x64.tar.gz,目标服务器是Red Hat Linux 7.3到7.6若干台,使用SSH方式连接。
使用的是默认的 Keepalive间隔(ms): 5000
都遇到同样的问题,过一阵子就会提示:timed out waiting for input: auto-logout

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

期望不要超时,自动保持连接。

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

No response

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

No response

Originally created by @lidelu on GitHub (Apr 25, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/3921 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.72.48-win-x64.tar.gz ### Platform detail (平台详情) Windows 10.0.19045.0 x64 ### What steps will reproduce the bug?(重新问题的详细步骤) electerm的版本是electerm-1.72.48-win-x64.tar.gz,目标服务器是Red Hat Linux 7.3到7.6若干台,使用SSH方式连接。 使用的是默认的 Keepalive间隔(ms): 5000 都遇到同样的问题,过一阵子就会提示:_timed out waiting for input: auto-logout_ ### What should have happened?(期望的结果) 期望不要超时,自动保持连接。 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
Author
Owner

@zxdong262 commented on GitHub (Apr 25, 2025):

设为0试试

<!-- gh-comment-id:2829386809 --> @zxdong262 commented on GitHub (Apr 25, 2025): 设为0试试
Author
Owner

@ybybwdwd commented on GitHub (Aug 19, 2025):

看看是不是设置了环境变量TMOUT,把这个置空试试

<!-- gh-comment-id:3199393035 --> @ybybwdwd commented on GitHub (Aug 19, 2025): 看看是不是设置了环境变量`TMOUT`,把这个置空试试
Author
Owner

@zxdong262 commented on GitHub (Aug 19, 2025):

设为0试试

<!-- gh-comment-id:3199941809 --> @zxdong262 commented on GitHub (Aug 19, 2025): 设为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#2707
No description provided.