1754014 Members
7417 Online
108811 Solutions
New Discussion

Re: Max Telnet sessions

 
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
1 REPLY 1
Romeo Ninov
Occasional Advisor

Re: Max Telnet sessions

Standart number of telnet/ssh/rlogin connections is 256. If You want to increase number change CONFIG_UNIX98_PTY_COUNT to value that You want but <2048. See also CONFIG_UNIX98_PTYS parameter
BTW: When not in use, each additional set of 256 PTYs occupy approximately 8 KB of kernel memory on 32-bit architectures.
For additional information see:
/usr/src/linux/Documentation/Configure.help
and let's GOD save Your system :-)