Operating System - Linux
1819910 Members
2458 Online
109607 Solutions
New Discussion юеВ

Not able to telnet to a linux box

 
donne007
Regular Advisor

Not able to telnet to a linux box

Hi Team,
I have a linux box installed with redhat 7 , I,m not able to telnet into the linux box , i could do the other way ,, even after stoping the ipchians & iptables ,, when i telnet romother box it says conncetion refused .. Any hlp on this ..
thanks in advance

ASif
11 REPLIES 11
Balaji N
Honored Contributor

Re: Not able to telnet to a linux box

Hi,
Check if telnet is enabled in the xinetd.d configuration.

1. Change disable=yes to disable=no in the /etc/xinetd.d/telnet file.

HTH
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
donne007
Regular Advisor

Re: Not able to telnet to a linux box

Hi ther's no Such a telnet file in the /etc/xinetd.d directory ..

thankz
asif
U.SivaKumar_2
Honored Contributor

Re: Not able to telnet to a linux box

Hi,
Give this command,
#ipchains -F

Try again to telnet.

regards,
U.SivaKumar
Innovations are made when conventions are broken
donne007
Regular Advisor

Re: Not able to telnet to a linux box

Siva ,
I stopped the ipchains from the /etc/init.d/ipchains stop

thanks
Asif
U.SivaKumar_2
Honored Contributor

Re: Not able to telnet to a linux box

Hi,
Does the telnet port listens ?

#lsof -i | grep telnet

Does xinetd daemon running ?
#ps -ef | grep xinetd | grep -v grep

Check the services enable at startup
#ntsysv

regards,
U.SivaKumar
Innovations are made when conventions are broken
donne007
Regular Advisor

Re: Not able to telnet to a linux box

shiv
xinetd service is not running & ther's no service when i tried to find # find / -name xinetd .. ..

in the ntsysv the 's no serviceof telnet except the network and i removed the ipchains from the startup ..


Thanks
Asif
U.SivaKumar_2
Honored Contributor

Re: Not able to telnet to a linux box

Hi boss,
xinetd should run.

Using ntsysv enable xinetd service and reboot the server. It should solve the problem.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Balaji N
Honored Contributor

Re: Not able to telnet to a linux box

Hi,

1. Is xinetd installed first.
rpm -qa | grep xinetd.
2. If not install it first. If installed, is it enabled.
chkconfig --list xinetd
chkconfig --levels 345 xinetd on
3. Start the xinetd service.
service xinetd start.
4. Is telnet server installed.
rpm -qa | grep telnet-server.
5. If not install it.
6. Enable telnet service. See my earlier post. Set disable=no.
7. Try telnetting to the server from the server itself.
telnet 0
telnet or
8. If this works and still you are unable to telnet from the network, problem is with the firewall.

HTH
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Jason M. Hale
New Member

Re: Not able to telnet to a linux box

Ok, I messed up on that last message. I meant to say I telnet in on port 22. I don't know where I got 8443 from. Oh yes, web interface is port 8443 running Linux Mandrake SNF 7.2
Jason M. Hale
New Member

Re: Not able to telnet to a linux box

You might want to try a program called putty for win32 systems. You can probably find it doing a google search. I know I run linux mandrake single network firewall and have to use putty to access it via ssh connection. It will not accept any other type. I telnet in on port 8443 using putty
donne007
Regular Advisor

Re: Not able to telnet to a linux box

Thnks Guys ,
Finally I could do tit after installing Xinetd from the Rpm package & Starting the service.

Thanks For your Splendind Support ..
Cheers..
Asif