Disconnect idle users on FreeBSD

 If you are trying a solution to disconnect idle users automatically from your server,  take a look at /usr/ports/sysutils/idled. Maybe also is possible to activate this option directly in sshd but I don’t find that option. Please let me know if it is possible.
But, idled works well, and can be used with all types of user login sessions.

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

put in /etc/ssh/sshd_config:

ClientAliveCountMax 0
ClientAliveInterval 60

this will disconnect after 60 sec of inactivity

Thanks, so easy!

Leave a comment

(required)

(required)