How to telnet Linux

Posted on 2000-01-03
Medium Priority
Last Modified: 2013-11-13
I'm using Win NT to connect to Linux.
I would like to know how to telnet Linux in Win NT.
Ping between these two machines is successful, but no response
to telnet.

Many thanks!
Question by:andersy

Accepted Solution

tromador earned 150 total points
ID: 2322219
Either you haven't found the telnet application in Windows NT, or you haven't got your telnet daemon running correctly.

You don't say if you can telnet from other platforms successfully.

If it's an NT problem, the simple answer is to use the start button, then choose "run" and simply type telnet into the box. That should get you going.

If you can't telnet from other platforms as well, then you may have a misconfigured telnet daemon.

Ensure lines in /etc/services like this..

telnet          23/tcp
telnet          23/udp

And a line in /etc/inetd.conf like this..

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd

Then send a HUP signal to inetd to restart it..

#kill -HUP <inetd's PID>

If that still doesn't allow a telnet, then I need more information about the problem. Is it just NT that can't get a connection? What have you tried to fix it?

Expert Comment

ID: 2326604
Check if you have the file /usr/sbin/in.telnetd
If not, the telnet server is not installed on your linux
machine. The server RPM should be in the RPMS directory
on your distribution CD, named something like

To install the telnet server, as root do
# rpm -ivh telnet-server-0.12-10mdk.i586.rpm

which should create the file /usr/sbin/in.telnetd, and then
you should be able to telnet to your linux box.


Author Comment

ID: 2327926
It works!

Thanks, tromador and v likic.

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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é.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month3 days, 21 hours left to enroll

599 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