Click to See Complete Forum and Search --> : How to telnet server


655321
03-08-2001, 02:55 PM
I'm running Mandrake Linux 7.2, and I was wondering how I can set it up so that others on my network can telnet to my computer, but I have no idea how to do it. We tried to telnet to it, but it gives an error that the host refused connection. I gave everyone an account, but it never gets to the part where you can put in your login. I'm pretty new to Linux, so someone please help me!

Harvey
03-08-2001, 03:06 PM
It's not that bad actally.
Okay, first of all you need to make sure that your telnet daemon, or server, or whatever you want to call it, is running.
there should be a process running called telnetd

if that is running, you should be able to connect to the machine by doing
telnet 11.11.11.11
from some other machine or something. I think you should be able to test it from the same machine as well.

oh yeah, if it's not running, look at the
/etc/inetd.conf (or something like that)
file. Look for the line that talks about telnet, and make sure it's not commented out. After editing the file do a
killall -HUP inetd
to restart your daemons...

If this works from that same machine, but doesn't work from some remote location, check to make sure there isn't some kind of firewall blocking access to your machines telnet port or something.

After you get that working, you should switch to ssh, it's like encrypted telnet.
http://www.ssh.com
or you can get openssh at freshmeat.

They work pretty much the same way as telnet, and is a lot safer.

Good luck dude.

655321
03-08-2001, 04:46 PM
telnet is not a running process....in the list of the basic processes in the initd.conf file, it has telnet, and its not commented out....so what the heck?

goon12
03-08-2001, 06:21 PM
I too am running MAndrake 7.2, using a cable modem. I get the same problem i think. when i do "telnet x.x.x.x" I get this:
Trying x.x.x.x...
Connected to x.x.x.x
Escape character is '^]'
Connection closed by foreign host.
I get this on the machine itself, and from work. If you find anything out, plese let me know :)

Thanks

Kinjana
03-08-2001, 09:32 PM
Why stop at telnet though?!?!?

Did you know you can run an x window server on a remote box allowing acess to a kde/gnome desktop remotely ---

Right now Im at work with a machine running windows 2000

But I have an xserver running and connection to my computer at home --


this post is coming from a netscape client running from my home machine

telnet bah we don't need no stinking telnet

try
www.starnet.com (http://www.starnet.com) www.microimages.com/freestuff/mix (http://www.microimages.com/freestuff/mix)

for two competeing win32 x-window servers --

[ 08 March 2001: Message edited by: Kinjana ]

ep0k
03-09-2001, 12:31 AM
I had that problem too when i was trying to set up telnet... do a locate intelnetd if nothing shows up ... go out on the net and get a telnet server and install it... This might be the problem...

Malakin
03-09-2001, 03:37 AM
it's not installed by default on mdk 7.2 using most of the install options.
it's on install disc 1
"rpm -i /mnt/cdrom/Mandrake/RPMS/telnet-server-0.17-5mdk.i586.rpm"

Strike
03-09-2001, 05:00 AM
telnet is evil, use ssh instead