1748112 Members
3441 Online
108758 Solutions
New Discussion юеВ

Re: Max Telnet sessions

 
SOLVED
Go to solution
John Love_3
Regular Advisor

Max Telnet sessions

Does anybody know if and what the max telnet sessions are on a 2.2.X kernel? (Red Hat 7.0).
Can one change some kernel paramaters to increase the allowable telnet sessions?
I noticed a post on the HP-UX forum about this and wondered how Linux would/does handle this.
Thanks,

John
2 REPLIES 2
Bryce Dunn
Valued Contributor

Re: Max Telnet sessions

I think this would be controlled by the number of ttyp* you have under /dev and also any restrictions you had on the number of simultanous telnetd's that could be running

You might run into other restrictions before you hit the limit of telnet sessions like memory or open files or something
Tim Malnati
Honored Contributor
Solution

Re: Max Telnet sessions

Linux has a kernel configurable named CONFIG_UNIX98_PTY_COUNT. The default value supports 256 pty's but you can increase it all the way to 2048 with a 2.2 kernel. I you do choose to increase this you will need to add the device files to connect through.