PDA

View Full Version : telnet not working


shahryar ahmed
16th July 2005, 05:12 PM
Hello
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.

Regards
Shahryar

remi
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.

Remi.

bitrain
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)?

shahryar ahmed
16th July 2005, 05:47 PM
Hello
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

Regards
shahryar

pparks1
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

kg4cbk
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.

crackers
17th July 2005, 06:41 AM
And, yes, RH9 has SSH installed and it is compatible with FC4 (just covering all the bases).

shahryar ahmed
17th July 2005, 09:30 AM
Hello
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

Regards
shahryar