Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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.
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.
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?
One last thing. (actually this should have been the first )
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
You can do the same for telnet, if you still want telnet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.