problem with telnet

Bill Brunt bill.brunt at quest.com
Sat Feb 5 17:20:07 UTC 2005


Rick -

I'm going to get going with ssh, I'm on a closed network with test
boxes.

I still want to fix this telnet issue though.  I've got four machines
called splex1, splex2, splex3 and splex4.  I tried the
Program->System->Service Configuration and restarted xinetd.  On both
splex1 and splex2.  I get the message

Connecting To 192.168.1.231...Could not open connection to the host, on
port 23:
 Connect failed
Microsoft Telnet>

Now, I've always been able to: /usr/sbin/in.telnetd -debug & for splex2,
splex3 and splex4 to get in but no matter what I do on splex1, only
console access.

I'd like to know how to trouble shoot more.  Any ideas?

      - Bill

-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com]On Behalf Of Rick Stevens
Sent: Friday, February 04, 2005 10:14 PM
To: Getting started with Red Hat Linux
Subject: Re: problem with telnet


Bill Brunt wrote:
>       Hi -
> 
>       I've never been able to telnet to a Linux machine the way I
want. 
>       I usually type in the following:
> 
>             /usr/sbin/in.telnetd -debug &
> 
>       which then for a brief period of time will let me establish a
>       telnet session as a non root user.  If I wait too long, I can't
>       connect.
> 
>       On one of the machines, I get a dialogue like the following:
> 
>             /usr/sbin/in.telnetd -debug &
>             [1] 6402
>             bind: Address already in use
>             [1]+  Exit 1                /usr/sbin/in.telnetd -debug
> 
> 
>       In this case I can't telnet to the machine.  Any ideas on fixing
>       either of these problems?

Telnet is not intended to be run as a user process.  It is supposed to
be launched from xinetd.d when someone makes a connection to TCP port
23.

To do it right, as the root user on the command line, run

	# redhat-config-services (Red Hat Linux or Fedora Core 1)
	# system-config-services (Fedora Core 2 or 3)

Via the GUI,

	Hat Icon->System Settings->Server Settings->Services

In either case, scroll down the list until you see "telnet".  Click in
the box so it has a checkmark and click "Save".  Next, scroll down until
you see "xinetd", select it and click "Restart".  You should now be able
to telnet to the box.

I HIGHLY recommend you don't use telnet.  Use ssh instead.  telnet is
insecure (everything including passwords is in cleartext).
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-               500: Internal Fortune Cookie Error                   -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe




More information about the Redhat-install-list mailing list