LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Telnet (https://www.linuxquestions.org/questions/linux-newbie-8/telnet-25619/)

bkmesenbrink 07-12-2002 09:46 AM

Telnet
 
I am trying to telnet into a box that has RH 7.2 I edited the file /etc/xinetd.d/telnet and changed the line that says "disabled=yes" to "disabled=no", restarted the XInetd metadaemon with the following command; # service xinetd restart. I can ping the box OK. When I go to telnet into the box I get the dreaded "Could not open a connection to the host:Connect failed". I am TELNETTing from a Windows box. When I tray to telnet from a Linux box I get, "Unable to connect to remote host: Connection refused". Is there something I have missed???

Thanks :(

pickledbeans 07-12-2002 10:13 AM

I believe that unless told other wise during install the default ipchains firewall
turns off telnet ..... by the way, you should be using ssh instead if you need link to Windows SSH client just shout

bkmesenbrink 07-12-2002 10:20 AM

How do I turn telnet on??? I have heard that ssh is the way to go. Telnet won't be a problem since the machine is in a test environment.

pickledbeans 07-12-2002 10:45 AM

Two things check and post any telnet messages from /var/log/messages

and post output from ipchain -L

bkmesenbrink 07-12-2002 11:12 AM

I didn't see any messages concerning telnet in /var/log/messages.

the ipchain -L command presented this to me;
23
REJECT tcp -y---- anywhere anywhere any -> nfs
REJECT upd ------ anywhere anywhere any 0:10

pickledbeans 07-12-2002 11:36 AM

Quote:

Originally posted by bkmesenbrink
I didn't see any messages concerning telnet in /var/log/messages.

the ipchain -L command presented this to me;
23
REJECT tcp -y---- anywhere anywhere any -> nfs
REJECT upd ------ anywhere anywhere any 0:10

Here is the link for reconfiging the firewall:

http://www.redhat.com/docs/manuals/l...omelokkit.html

nobu 07-12-2002 09:26 PM

about telnet from linux to windows.
You have turn telnet service on windows.
if you have to windowsxp or 2000 , go to service and start telnet.
That shoud help.
about telnet from windows to linux, I am still struggling to do it.

bkmesenbrink 07-15-2002 12:24 PM

Thanks for the link on Basic Firewall Configuration. The documentation says to type gnome-lokkit at a shell prompt as root. I do this and get "gnome-lokkit: command not found". I do have X Window installed. I tried lokkit, which is the text-mode version of GNOME Lokkit. That worked. I made the necessary changes, saved the configuration and restarted ipchains. Still can't telnet. I finally gave up and performed a reinstall making sure that I allowed a telnet session. Now it is working :)
BTW... I installed VNC (remote control software) to perform my admin tasks. For some reason some commands don't work under 'su' when I telnet in or work from the terminal. I don't have this problem with Mandrake 8.2


All times are GMT -5. The time now is 03:01 AM.