Link to home
Start Free TrialLog in
Avatar of vic010
vic010

asked on

Can ping, cannot telnet

Hi

I can ping my RED HAT server but I cannot telnet from my XP PC, Networking has been set up (using GUI for now) and all seems ok. In the network configuration in settings I think I have done all that is needed.

Any other ideas?
I might not have started the telnet daemon, but I'm not too sure how to do it.
Avatar of awoodby
awoodby
Flag of United States of America image

you probably hit the nail on the head, by default telnet is disabled because it's insecure.  To reenable it,

you need to edit (with a text editor, i use vi from a terminal window but I'm sure there's a text editor gui)

/etc/xinetd.d/telnet

and change the line where it says

disable  yes

to

disable  no


write out your changes, then
service xinetd restart

from a terminal window, telnet will now work.

--alex
well, all distributions of redhat have the telnet service disabled by default, because it is extremely unsecure.

try to download the putty software, which is a free telnet/ssh client, and then try to connect specifying putty to use ssh. it will work and you will be able even to signin as root.

the link to download putty is:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Avatar of lloco_lloco
lloco_lloco

I use setup to configure any system service, at least most of them.

> setup

Choose services configuration and you can choose whatever services you want to enable or disable.

Redimido, I think when you use putty, you still need to have an ssh server installed on the server. Signing in as root can also be disabled just like doing so in telnet.
lloco_lloco: yes, but RedHat has ssh enabled by default, as most of the distros (I cannot remember of one that does not)

and because it is secure.

he can also use scp instead of ftp, and then he'll have al transfers and connections secure as long as he has his linux up to date.
If you want to telnet to your linux box, first you need to enable the service, go to /etc/xinet.d/ and open the proper file (telnet.d) and change the disable = yes to disable = no and then restart the xinet.d server
(go to /etc/rc.d/init.d/xinet.d restart)

But as Redimido said, keep it with ssh, and download a ssh client for windows like putty.

Regards,
ASKER CERTIFIED SOLUTION
Avatar of chain94h
chain94h

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial