[CentOS] Telnet & ssh connection limit and idle timeout

partha chowdhury kira.laucas at gmail.com
Fri Sep 26 02:30:02 UTC 2008


lingu wrote:
> 
> 
> Dear all,
> 
> 
> *
> 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.
> 
> 
>  Any one guide me how to do this.
> 
> Regards
> Lingu
> 
> 
> *
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

for telnet, intall telnet-server and in /etc/xinetd.d/telnet , append 
instances=<number> total number of instances and per_source=<number>,the 
number of simultaneous connections per IP address - it can not exceed 
the total number of instances.



More information about the CentOS mailing list