sshd - time out idle connections

Mikel King mikel at
Fri May 3 15:48:23 UTC 2013

Firing people for violating the 5 minute rule seems a tad extreme. If there is indeed a company policy regarding the 5 minute idle window you and you intend to roll forward with a connection kill script then also make screen or tmux available. In my experience people tend to be more accepting of connection outages if they can reconnect to where the were when they were last on. 

Mikel King
BSD News 


From: Fleuriot Damien [mailto:ml at]
To: FreeBSD questions [mailto:freebsd-questions at]
Sent: Fri, 03 May 2013 10:28:31 -0400
Subject: sshd - time out idle connections

Hello list,
  I'm facing this unusual demand at work where we need to time out idle SSH connections for security purposes.
  I've checked the following options from sshd_config but none seems to fit my needs :
  Basically, I'm trying to defeat the use of the following client-side option:
  ServerAliveInterval 5
  I'm afraid all I've hit now is dead ends.
  Has anyone ever had the same requirements before and, perhaps, found a solution to this ?
  freebsd-questions at mailing list
  To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list