LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Telnet not working (https://www.linuxquestions.org/questions/linux-networking-3/telnet-not-working-273258/)

mavles 01-03-2005 07:12 AM

Telnet not working
 
Hi,

I've installed Linux Redhat 9.0 and it's connected to another WinXP laptop in the same network. If I telnet from the Linux RH9 Box to localhost or its IP 192.168.1.2, I can get connected. But when I telnet from the WinXP laptop with the IP 192.168.1.5, it never gets through. The screen in the laptop hangs for a while and then exits with the error message below:

telnet 192.168.1.2
Trying 192.168.1.2....
telnet: Unable to connect to remote host: Connection reset by peer

I'm aware that this a common classic problem with Linux because I've been reading the forum threads everywhere. But unfortunately there doesnt seem to be a common classic solution for this.

If there is anyone here who'll be able to shed some light in this matter. I appreciate greatly if someone can come forward to help me.

Waiting anxiously,

Selvam

acid_kewpie 01-03-2005 07:17 AM

sounds like you have only_from set in /etc/xinetd.d/telnetd but don't use telnet. it's crap. use ssh

http://openssh.org
http://www.chiark.greenend.org.uk/~sgtatham/putty/

mavles 01-06-2005 10:42 AM

Actually I do agree with you that telnet is crap and ssh is far better. But the problem is that all the other pcs in my customer premises are windows. and i have installed linux red hat as a database server. so if i were to troubleshoot i need to telnet from any of the windows machines to the linux server. i hv no choice but to telnet from windows as windows doesnt come with ssh.

So based on my previous symptoms can you diagnose what could be the problem? i think it has to do with some configuration file. Please share with me if you know the solution.

eantoranz 01-06-2005 10:49 AM

Use putty in the windows boxes to get ssh access.

eantoranz 01-06-2005 10:50 AM

Anyway... are you filtering traffic comming into the telnet server?

chumisekar 01-07-2005 01:31 AM

By default when u install REDH HAT 9.0 the firewall security IPTABLES also gets installed and started . Check whether the iptables is in the process . iptables -L
and stop the firewall and flush by iptables -F


sumithra


All times are GMT -5. The time now is 08:59 AM.