Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.