LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Telnet session timout settings in Redhat Linux 5 (https://www.linuxquestions.org/questions/linux-newbie-8/telnet-session-timout-settings-in-redhat-linux-5-a-790926/)

ssanwar80 02-22-2010 11:19 PM

Telnet session timout settings in Redhat Linux 5
 
Hi,

can you please help, where to set the telnet session timeout for the IDLE time in redhat linux.

With Regards,
SSA.

mrrangerman 02-23-2010 12:35 AM

Just a warning if you don't know, you shouldn't use telnet as it send info in plain text. That being said, take a look at /etc/xinetd I believe that is the config file you want.

vinaytp 02-23-2010 01:36 AM

Welcome to LQ ssanwar80,

Why are you prefering telnet to ssh ? Telnet doesn't support encryption. It simply send sensitive informations like username and passowrds in plain text.

I advise you to go for ssh instead of telnet. You can adjust following parameters accordingly in /etc/ssh/sshd_config file to get your things done.

Code:

ClientAliveInterval
ClientAliveCountMax

Still if you have strong instinct to use telnet. You can append following -IdleTimeout option to server_args in /etc/xinetd.d/telnet file

Code:

server_args = -IdleTimeout 600
By default, 600 will be in seconds.

Hope this helps.


All times are GMT -5. The time now is 09:52 PM.