V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
mikefy
V2EX  ›  VPS

搬瓦工 openvz 开启 bbr 后顺便加速了一下 ssh 端口, 然后现在 ssh 连接 30 秒就断, 而且每次都算是从 10.0.0.2 登录的

  •  
  •   mikefy · Dec 4, 2017 · 1152 views
    This topic created in 3073 days ago, the information mentioned may be changed or developed.

    就问下怎么解决 30 秒就断这个问题. 有在 xshell 中设置 10 秒发一次活动状态消息...但是手机端的 juice 不行呀,能从服务器端解决这个吗. TMOUT=0 没用

    2 replies    2017-12-05 22:38:25 +08:00
    sunflyer
        1
    sunflyer  
       Dec 5, 2017
    sshd_config 加一段

    ClientAliveInterval 20
    ClientAliveCountMax 6
    FengkuiChan
        2
    FengkuiChan  
       Dec 5, 2017 via Android
    加速 ssh 干嘛?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2490 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 07:41 · PVG 15:41 · LAX 00:41 · JFK 03:41
    ♥ Do have faith in what you're doing.