配置 SSH 会话时长 发表于 2025-03-02 更新于 2025-03-04 vi ~/.ssh/config Add below line 12Host * ServerAliveInterval 120 How can I prevent an SSH session from hanging in OS X Terminal?