Telnet problems

Posted on 2000-01-16
Medium Priority
Last Modified: 2013-12-15
I just installed mandrake 6.1.  I am having problems with allowing other people to connect to my machine using telnet.
When someone connects to my computer it responds with connection terminated and goes no further.  
Question by:tmassingtate
LVL 12

Accepted Solution

j2 earned 100 total points
ID: 2357801
From what i have read, mandrake does NOT install the telnet daemon by default. Consult your manuals and install it.

Expert Comment

ID: 2360976
That indicates a wrong DNS configuration (or perhaps none at all?). Check your /etc/resolv.conf, or try adding both localhost and the connecting host to /etc/hosts.

Expert Comment

ID: 2360982
wups, my bad, I thought you wrote connection established :-)

I do belive, however, that Mandrake installs the telnet daemon by default (at least it did on my system)
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.


Expert Comment

ID: 2376626
I haven't used Mandrake, but your question tells me that your machine is listening on the telnet port.  (Otherwise you'd get "connection refused.")  Check out the man pages on /etc/hosts.allow and /etc/hosts.deny.  When telnet access is denied by these files, the TCP-level connection is accepted and then immediately dropped, which is what you're seeing.  Alternaively,if no telnetd is installed, perhaps inted is accepting the connnection and then can't do anything.  In either case there should be a footprint in the syslog, typically /var/log/messages.

Expert Comment

ID: 2377465
Well what s /var/log/secure saying (tail /var/log/secure just after you tried to connect)?

Expert Comment

ID: 2377978
Solution is simple:
1. Log in as root
2. Using your favourite editor, open /etc/inetd.conf
3. Find the line that starts with:
4. Remove the starting #
5. Save the file
6. Restart the inet daemon by typing
killall -HUP inetd

and it's done :)))

If it does not work, post the relevant line from /etc/inetd.conf.
LVL 15

Expert Comment

ID: 2389011

  What is the userid that the user try to log in.  I hope it's not root.

Try using other login id.  Sometime, some systems, Solaris for example restrict root login only from the console.


Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question