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
Restarting sshd wont let you disconnect any user. the best way is to kill users login PID. On Dec 2, 2007 8:20 PM, area damai? <area.damai@gmail.com> wrote:> 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 > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" >-- zaher el siddik -
"area damai?" <area.damai@gmail.com> writes:> i'm trying to disconnect idle users from my system by editing > /etc/ssh/sshd_configI don't think sshd can do that. Take a look at /usr/ports/sysutils/idled. -- Christian Laursen
Seconded. Idled works well, and handles all types of user login sessions. I have used it quite successfully for many years. Hth, Klaus ----- Original Message ----- From: owner-freebsd-security@freebsd.org <owner-freebsd-security@freebsd.org> To: area damai? <area.damai@gmail.com> Cc: freebsd-security@freebsd.org <freebsd-security@freebsd.org> Sent: Sun Dec 02 14:33:41 2007 Subject: Re: Setting SSH timeout "area damai?" <area.damai@gmail.com> writes:> i'm trying to disconnect idle users from my system by editing > /etc/ssh/sshd_configI don't think sshd can do that. Take a look at /usr/ports/sysutils/idled. -- Christian Laursen _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"