Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-14-2003, 07:47 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Austin, TX
Posts: 3
Rep:
|
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
|
|
|
07-14-2003, 08:44 AM
|
#2
|
LQ Newbie
Registered: Jul 2003
Location: Harrah, OK
Distribution: Mandrake 10.1
Posts: 17
Rep:
|
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
|
|
|
07-14-2003, 09:53 AM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
07-14-2003, 10:13 AM
|
#4
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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
|
|
|
07-14-2003, 12:21 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Location: Austin, TX
Posts: 3
Original Poster
Rep:
|
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
|
|
|
07-14-2003, 12:29 PM
|
#6
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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, ...).
|
|
|
07-14-2003, 12:42 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Location: Austin, TX
Posts: 3
Original Poster
Rep:
|
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?
|
|
|
07-14-2003, 01:10 PM
|
#8
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
One last thing. (actually this should have been the first )
The following command will search the list of installed RPMs for 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.
Last edited by Mathieu; 07-14-2003 at 01:14 PM.
|
|
|
All times are GMT -5. The time now is 07:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|