cancel
Showing results for 
Search instead for 
Did you mean: 

Problem for telnet service

SOLVED
Go to solution
Wendy_9
Frequent Advisor

Problem for telnet service

Hi,

I have installed the telnet service for RH linux and have execute chkconfig telnet on. I have find that the telnet service is on by chkconfig --list telnet and also reboot the machine.

But, I still cannot telnet from other server to this RH machine. Is anything I still missing. Anyone can give me a help?

Thanks

Regards,
Wendy
7 REPLIES
Claudio Cilloni
Honored Contributor
Solution

Re: Problem for telnet service

Maybe you have the firewall activated and it blocks incoming telnet connections. try disabling it:

# service iptables stop

What kind of error do you get? Other machines are unable to connect or once connected you are unable to login?

Ciao!
Claudio
Wendy_9
Frequent Advisor

Re: Problem for telnet service

Those machines are connected to the same switch.

The telnet connection is refused when I telnet to the linux server

Regards,
Wendy
Alexander Chuzhoy
Honored Contributor

Re: Problem for telnet service

can you ping the target machine?

if the answer is yes.
Then check in /etc/services if the telnet service defined to listen on port 23
also see if there's no denying rule in /etc/hosts.deny

Did you check the iptables rules?
Claudio Cilloni
Honored Contributor

Re: Problem for telnet service

I wanna mean the system firewall of your RH machine.
that command will disable it.
Peeyush
Regular Advisor

Re: Problem for telnet service

just shooting in dark


vi /etc/xinetd.d/telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
#### does ur conf says disable = yes
chk ur syslog
Regards,
Peeyush
http://geocities.com/peeyush_maurya/
any suggestion for my site.. http://geocities.com/peeyush_maurya/
Steven E. Protter
Exalted Contributor

Re: Problem for telnet service

telnet is part of internet services

in /etc/xinet.d/ there are a bunch of files

one is telnet

or telnetd

vi it

change disable=yes to

disable=no

save

service xintetd restart

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Martin P.J. Zinser
Honored Contributor

Re: Problem for telnet service

Hello Wendy,

another thing to check:

netstat -a | grep telnet should result in something like

tcp 0 0 *:telnet *:* LISTEN

If this is true the telnet service should be started. A next possible test would be to do a telnet 127.0.0.1, which is essentially the network loopback device of your system.

Greetings, Martin