V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
proxytoworld
V2EX  ›  问与答

xshell 对 ssh 客户端进行了优化吗,在 xshell 连接主机后不会自己断开,在 terminal 中 ssh 连主机过段时间显示进程退出,要重新连

  •  
  •   proxytoworld · Jul 30, 2021 · 1102 views
    This topic created in 1738 days ago, the information mentioned may be changed or developed.
    3 replies    2021-07-30 21:18:21 +08:00
    CEBBCAT
        1
    CEBBCAT  
       Jul 30, 2021 via Android
    我不记得 ssh 有自动断开的特性,你想说的是 openssh 那个连续丢失若干个包就断开连接的功能吗?

    我想 xshell 有相关的设置,可以让它定时发空包
    mokeyjay
        2
    mokeyjay  
       Jul 30, 2021
    新建会话属性 - 连接 - 保持活动状态
    301
        3
    301  
       Jul 30, 2021 via Android
    定时发心跳包,可以在 .ssh/config 配置 ServerAliveInterval
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2435 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 01:57 · PVG 09:57 · LAX 18:57 · JFK 21:57
    ♥ Do have faith in what you're doing.