-   Linux - Networking (
-   -   Telnet for remote control, how do I set it up? (

bripage 07-30-2002 06:59 PM

Telnet for remote control, how do I set it up?
I want to set up telnet on my machine, so that I can remotely control and use my nix box from another location, and or network.
I dont know how to set this up so any help will be greatly appreciated.

Thymox 07-30-2002 07:08 PM

You will need two pieces of software: the telnet sever (telnetd) and the telnet client. Telnet clients ate two-a-penny, even Internet Explorer has telnet ability! Be warned though, telnet is a very dangerous way of doing things! The telnet protocol has no security on it what-so-ever, if you type a password in on a telnet session, then anyone 'listening in' on that session will then know your password. I would advise that you forget that telnet ever existed and go for SSH. SSH works in the same (almost) manner as telnet, in that is requires a ssh server (sshd) and ssh clients, however, ssh is a very unix-like thing and you have to hunt around for Windows based ssh clients. Having said that, it is much more secure than plain telnet, so you should be ok. Oh, and the server and Linux client software will be on your distro's install CD.

Hope this helps.

krunkwick 07-30-2002 07:26 PM

Unless you really have some special reason for telnet, you need to use SSH. Like Thymox said "forget telnet". For a windows client I use putty.exe (just run a search on google)

It's only one executable and it size is only 324KB so I you can always just download it. You dont install this program!

trickykid 07-30-2002 08:11 PM

Also in most cases if your using Slack 8, it comes with all of this by default and at times has telnet and ssh running by default.

First do a ps -aux and see if you don't already have a sshd running. If you do then you should be able to ssh into your box at this time. If not, then go on to step 2.

What you would need to do is second take a look at your network startup scripts in /etc/rc.d, especially the rc.inet2 script.

You can uncomment the lines in the rc.inet2 that start the SSH daemon at startup if they aren't already uncommented. This will start the daemon upon bootup. Should start out with something like:

# Start the OpenSSH SSH Daemon:

If for some reason you do want to run telnet, then you want to edit your /etc/inetd.conf and have a line like this in there, or uncomment it cause in most cases it should already be there:

telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

Hope this helps out at all.

sarin 07-30-2002 11:52 PM

Just a small question on win ssh client. I find it giving me new window ( with shell and I loged in ) when I press on a icon. This means that win client is storing the paswd some where. If we are so much careful about passwds and do use ssh, is it safe to use win clients?

krunkwick 08-01-2002 08:02 PM

I dont know what win ssh client your using, but putty.exe doesnt store passwords.

Just run a search on google for putty.exe, and download it. It's one exe and works really great.

All times are GMT -5. The time now is 07:14 AM.