LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 07-14-2003, 07:47 AM   #1
Roga Danar
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Posts: 3

Rep: Reputation: 0
Question 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
 
Old 07-14-2003, 08:44 AM   #2
Esenthiel
LQ Newbie
 
Registered: Jul 2003
Location: Harrah, OK
Distribution: Mandrake 10.1
Posts: 17

Rep: Reputation: 0
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
 
Old 07-14-2003, 09:53 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
 
Old 07-14-2003, 10:13 AM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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
 
Old 07-14-2003, 12:21 PM   #5
Roga Danar
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 07-14-2003, 12:29 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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, ...).
 
Old 07-14-2003, 12:42 PM   #7
Roga Danar
LQ Newbie
 
Registered: Jul 2003
Location: Austin, TX
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 07-14-2003, 01:10 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
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.

Last edited by Mathieu; 07-14-2003 at 01:14 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet server JCdude2525 Linux - Networking 6 09-19-2004 07:30 PM
telnet server chankunchan Linux - Networking 5 05-10-2004 07:48 PM
telnet server? ReSync Linux - General 9 07-04-2002 04:06 PM
Telnet server? TheWoodchuck Linux - Networking 6 04-23-2002 07:01 AM
Telnet server - how to? captnroger Linux - General 3 02-28-2001 10:54 AM


All times are GMT -5. The time now is 05:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration