Berkeley CSUA MOTD:Entry 26874
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2002/12/20-21 [Computer/SW/Security] UID:26874 Activity:high
12/20   Is there a way to get SSH to do keepalives (for firewalls/dial-up
        sessions with inactivity timeouts?)  I currently do ssh -X and send
        an xclock over it, but I usually have more than one host open, and
        things get a bit cluttered.  -John
        \_ the inband keepalive is daemon configurable
        \_ the inband keepalive is daemon configurable -shac
        \_ I just have a script that echoes a character to the screen every 10
           minutes.  -- yuen
        \_ Put "KeepAlive Yes" in /etc/ssh/sshd_config
           \_ The line is already there.  Guess it doesn't work.
           \_ My office fw filters that so I do the same thing yuen does.
           \_ KeepAlive actually sends out-of-band so.. it's not what it
              seems.. you actually want ClientAliveInterval which sends
              inband.. however its ssh2 only and some ssh clients will
              barf when they see this packet.. if your client doesnt
              barf at it, then it will keep your session alive -shac