Discussion:
Setting SSH timeout
(too old to reply)
area damai™
2007-12-02 19:20:21 UTC
Permalink
i'm trying to disconnect idle users from my system by editing
/etc/ssh/sshd_config
i have set
TCPKeepAlive no
ClientAliveInterval 2

and restarting sshd services /etc/rc.d/sshd restart

but it still wont disconnect any idle client
any advice is highly appreciated

areadamai
freebsd user
M.Z.el-Siddik
2007-12-02 21:30:54 UTC
Permalink
Restarting sshd wont let you disconnect any user.
the best way is to kill users login PID.
Post by area damai™
i'm trying to disconnect idle users from my system by editing
/etc/ssh/sshd_config
i have set
TCPKeepAlive no
ClientAliveInterval 2
and restarting sshd services /etc/rc.d/sshd restart
but it still wont disconnect any idle client
any advice is highly appreciated
areadamai
freebsd user
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-security
--
zaher el siddik



-
Christian Laursen
2007-12-02 22:33:41 UTC
Permalink
Post by area damai™
i'm trying to disconnect idle users from my system by editing
/etc/ssh/sshd_config
I don't think sshd can do that.

Take a look at /usr/ports/sysutils/idled.
--
Christian Laursen
Loading...