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 * -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080924/54a2dc34/attachment-0001.html>
Lanny Marcus
2008-Sep-24 23:46 UTC
[CentOS] Telnet & ssh connection limit and idle timeout
On Wed, Sep 24, 2008 at 8:08 AM, 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.I don't think you should be using telnet, for security reasons. SSH is much better.
Richard Karhuse
2008-Sep-25 23:18 UTC
[CentOS] Telnet & ssh connection limit and idle timeout
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-0001.html>
partha chowdhury
2008-Sep-26 02:30 UTC
[CentOS] Telnet & ssh connection limit and idle timeout
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/centosfor 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.