LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-24-2014, 12:56 PM   #1
rpark01
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Rep: Reputation: Disabled
Telnet timeout and disconnect setting


We have several remote workers connecting through a VPN and using telnet to open a window to one of our servers. As we have upgraded them from fedora systems to ubuntu, I am told that after appx 5 minutes of inactivity, the telnet window closes and they have to start a new one.
Before ubuntu, they did not have a problem.
Since nothing else has changed except for the machine upgrades to ubuntu, is there a setting that can control the timeouts for these users?
 
Old 10-24-2014, 03:30 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Going from Fedora to Ubuntu is NOT an upgrade.

Seriously though there are various timeouts that can be set. The first one I'd look for is TMOUT shell variable. Login as a user and then type "echo $TMOUT". If set you'll see a value which is a number of seconds. 1800 = 1/2 hour, 3600 = hour etc... The number of things that might set timeouts are too numerous to list. I do know one VPN I used previously did disconnects if it saw no activity (e.g. no keystroke press or screen updates) for a finite period of time.

Also you really ought to NOT be using "telnet" as it is mostly obsolete and is insecure. Even though you're doing vpn to get into your network the traffic between machines inside the network is not encrypted. You should look into use of ssh instead.
 
Old 10-24-2014, 05:12 PM   #3
rpark01
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
I ran the 'echo $TMOUT' command and it returned nothing.

We use telnet because we are connected over vpn, providing security we need.
 
Old 10-27-2014, 10:27 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Even with VPN you should get in the habit of using ssh. VPN *may* protect traffic from outside your network into it but it does NOT protect traffic between machines inside your network. Having the telnetd daemon running is a security hole you should avoid.
 
Old 10-27-2014, 11:52 AM   #5
rpark01
LQ Newbie
 
Registered: Oct 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you for your original post and suggestion. But this post is not related to whether telnet is secure or not. I need help determining what is causing the timeout issue.
 
  


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
Telnet Timeout energiza Linux - Networking 0 08-19-2006 10:42 AM
telnet timeout over VPN jhisaac1 General 3 04-11-2005 10:54 PM
telnet timeout setup! okeyla Linux - Newbie 2 03-17-2005 07:43 PM
how to change telnet timeout? qnguyendang Linux - Networking 0 02-17-2003 04:13 AM
Does telnet have a timeout??? mjb2123 Linux - Networking 1 01-30-2002 10:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:10 AM.

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
Open Source Consulting | Domain Registration