LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-23-2010, 12:19 AM   #1
ssanwar80
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 0
Thumbs up 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.
 
Old 02-23-2010, 01:35 AM   #2
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
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.
 
Old 02-23-2010, 02:36 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
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.

Last edited by vinaytp; 02-23-2010 at 02:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 5 LINUX Session Settings - File Auto Load on Screen mccartjd Linux - General 2 10-28-2009 05:28 PM
Telnet session consumes 8KB which is never released after session is terminated NilesBor Linux - Kernel 1 04-24-2009 12:14 PM
change Redhat timout Gary Esterly Linux - Newbie 2 06-04-2008 07:11 PM
modem idle timout settings in SuSE JaseP Linux - Distributions 5 08-17-2003 08:45 AM
See a telnet session log Linux - Newbie 5 01-13-2003 09:11 AM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration