View Full Version : telnet not working
16th July 2005, 05:12 PM
i am facing a problem. i have two systems. i have installed the telnet-server package. i have fedora core 3 and make changes in /etc/xinetd.d/telnet file.but other system on which i have installed redhat 9. i am not able to login on fedora through telnet. and displaying the connection refused message. but i am successfully logging on localhost. please tell me in which files i have to makes changes.
16th July 2005, 05:38 PM
1/ have reload xinetd ?
2/ have you firewall enable ?
3/ to connect linux to linux you should probably prefer ssh.
16th July 2005, 05:39 PM
Use ssh to login, it is more secure then telnet.
Your firewall blocks the incomming requests I think. Do you still have the defualt firewall (iptables)?
16th July 2005, 05:47 PM
Thanks for ur reply. how do i check that my firewall is enable and if enable how i allow the telnet traffic to the telnet server
17th July 2005, 12:31 AM
You must modify /etc/sysconfig/iptables. Set it to allow TCP port 23 traffic.
Just as a test, run
service iptables stop
then try telnet.
If it works, you know it is firewall
17th July 2005, 01:44 AM
you can use system-config-securitylevel to modify iptables rules to allow ssh and/or telnet.
service iptables status
will show you the current rules that are loaded.
As already mentioned you should consider using ssh instead of telnet due to security concerns.
17th July 2005, 06:41 AM
And, yes, RH9 has SSH installed and it is compatible with FC4 (just covering all the bases).
17th July 2005, 09:30 AM
Thnanks for u peoples for u giving me such wonderful advices, i have learnt alot. i have solved my problem by allowing the incoming request on server for telnet. now i can telnet to my server. i will use ssh insteaad of telnet
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.