[CentOS] Telnet & ssh connection limit and idle timeout

Richard Karhuse rkarhuse at gmail.com
Thu Sep 25 23:18:26 UTC 2008


On 9/24/08, lingu <hicheerup at gmail.com> wrote:
>
> *I am running centos 4 update 5. I want to limit user connection(maximum
> 10 simultaneous connection are only allowed) to server
> (for telnet & ssh sessions).In the mean time i like to remove all dead and
> idle connections(ssh & telnet session) of more that 24 hours.*
>


Sorry that no one has help you yet on this.

Check-out limits.conf (e.g., "man limits.conf").

This will allow you to limit the number of concurrent user
logins.

   -rak-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080925/4609e798/attachment.html>


More information about the CentOS mailing list