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
*
On Wed, Sep 24, 2008 at 8:08 AM, lingu hicheerup@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.
I don't think you should be using telnet, for security reasons. SSH is much better.
On 9/24/08, lingu hicheerup@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-
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@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.