LinuxQuestions.org

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

Roga Danar 07-14-2003 07:47 AM

Telnet Server
 
I would like to setup a telnet server on my Linux (Redhat 7.3) box, and was wondering what I needed to do to set it up. I know I should use SSH, but the Linux box is only in my network, so security isn't really an issue (let alone the issue of setting SSH up, too!).

I've read the man page on telnet (and a few google searches), and didn't see anything about the telnet server or daemon...do I need to download a package, or is it somewhere hidden in there?

Thanks for the help!

JD

Esenthiel 07-14-2003 08:44 AM

Well, I MUD a bit and that uses the telnet protocol, all I did was configure and compile it, then I ran the autorun file.... it was a breeze, but that was in Mandrake

acid_kewpie 07-14-2003 09:53 AM

you'll need to install the telnet-server package from your distro cd's. you've not given any information about your distro though, so i can't give you an example download site.

Mathieu 07-14-2003 10:13 AM

Since you are using Redhat 7.3, you should have an RPM called telnet-server-x.xx-xx (I don't remember the version) on your CDs.

Also, the SSH server is as easy to install as Telnet, look for
openssh
openssh-clients
openssh-server

Roga Danar 07-14-2003 12:21 PM

Quote:

Originally posted by Mathieu
Since you are using Redhat 7.3, you should have an RPM called telnet-server-x.xx-xx (I don't remember the version) on your CDs.

I'll search the CD's for them, but the problem for me is when I install a package, I don't know enough about the directory structure to know where everything goes (or needs to go).

Quote:


Also, the SSH server is as easy to install as Telnet, look for
openssh
openssh-clients
openssh-server

I found the sshd program on my linux machine (under the /etc/log.d/scripts/services/ directory), but when I tried to install it (using SSH Server Installation , under Installing the SSH Server), when I tried the command /sbin/chkconfig --add sshd , it gave me the error "service sshd does not support chkconfig".

At this point, I'm not sure how to mount the CD drive and such, but I think that that's a quick search on google...I'll look for the packages on my CDs and install the telnet server package.

Thanks again for the info.

JD

Mathieu 07-14-2003 12:29 PM

It would seem that SSHd is already installed on your system.
Use the following command to view all installed services on your system.
chkconfig --list

If sshd is there, then use the service command (service sshd status) to view its current state.

Also, if you type service sshd, it will display a list of possible options (start, stop, restart, ...).

Roga Danar 07-14-2003 12:42 PM

Quote:

Originally posted by Mathieu
It would seem that SSHd is already installed on your system.
Use the following command to view all installed services on your system.
chkconfig --list

SSHd is not listed at all...

Quote:


If sshd is there, then use the service command (service sshd status) to view its current state.

Also, if you type service sshd, it will display a list of possible options (start, stop, restart, ...).

Both of those don't give any output. Should I install it again from the packages of my CD?

Mathieu 07-14-2003 01:10 PM

One last thing. (actually this should have been the first :D )
The following command will search the list of installed RPMs for ssh.
Code:

rpm -qa | grep ssh
If the output does not contain openssh, openssh-clients and openssh-server.
Then yes, you need to install them because there were not installed... my mistake :p

You can do the same for telnet, if you still want telnet.


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