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 03-14-2001, 11:31 AM   #1
calvn
LQ Newbie
 
Registered: Mar 2001
Location: Singapore
Posts: 8

Rep: Reputation: 0
Talking


i just got rh 6.2 up but i cant seem to telnet in remotely.
how do i enable telnet ?
 
Old 03-14-2001, 01:18 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
You need to uncomment out the appropriate line in /etc/inetd.conf and then restart inetd.
 
Old 03-14-2001, 01:27 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Just a reminder, you can't telnet as root, if your trying that, you have to telnet in as a regular user account. Also, if its over the net or anything, might want to use SSH.
 
Old 03-14-2001, 08:46 PM   #4
calvn
LQ Newbie
 
Registered: Mar 2001
Location: Singapore
Posts: 8

Original Poster
Rep: Reputation: 0
Question

err i did a ls -la in my /etc , only see . and ..
do i have to install telnetd 1st or something?
 
Old 03-15-2001, 06:42 PM   #5
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
Telnet

If you dont have anything in /etc it seems like you have a lot of stuff not installed that you need or you are doing something wrong. ls -la sould list quite a bit of stuff in /etc/ (this is where 90% of the configuration files for Red Hat and other programs reside)

Also I recommend using SSH for remote access!
Take a look at it:
http://www.ssh.com
 
Old 03-15-2001, 08:18 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
When you installed RH 6.2, did you install everything? Or did you install like a minimum or custom? If you installed everything, telnet is already installed. Are you trying to telent into your machine or out of your machine?
 
Old 03-16-2001, 07:18 AM   #7
calvn
LQ Newbie
 
Registered: Mar 2001
Location: Singapore
Posts: 8

Original Poster
Rep: Reputation: 0
hmm i cant remember whether i did a full installation or what. so if i dont have the thing, how do i get it installed?
 
Old 03-16-2001, 07:36 AM   #8
Si|entKey
LQ Newbie
 
Registered: Mar 2001
Location: Ohio
Posts: 7

Rep: Reputation: 0
Quote:
Originally posted by calvn
hmm i cant remember whether i did a full installation or what. so if i dont have the thing, how do i get it installed?
Find the telnetd-x.x.x.rpm and install it.
rpm -i telnetd-x.x.x.rpm

Clint
 
Old 03-17-2001, 03:06 PM   #9
calvn
LQ Newbie
 
Registered: Mar 2001
Location: Singapore
Posts: 8

Original Poster
Rep: Reputation: 0
alrite i got the telnet server installed and i need help in editing the inetd.conf..
 
Old 03-17-2001, 05:16 PM   #10
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
There will be a line in there that looks like its going to start a telnet server.

It will look something like this:
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd


Just take out the pound sign in front of it (to un-comment it) or you can leave it commented like mine and try using SSH!
 
Old 03-18-2001, 10:42 AM   #11
calvn
LQ Newbie
 
Registered: Mar 2001
Location: Singapore
Posts: 8

Original Poster
Rep: Reputation: 0
hmm ok i got it, and er where do i change the default port to another one to telnet in to?
 
Old 03-19-2001, 06:01 AM   #12
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
Why do you want the telnet port to be anything other than default again?
 
Old 03-19-2001, 11:57 AM   #13
calvn
LQ Newbie
 
Registered: Mar 2001
Location: Singapore
Posts: 8

Original Poster
Rep: Reputation: 0
err, security issue?
 
Old 03-19-2001, 12:50 PM   #14
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
Then don't use telnet! Use SSH!
http://www.ssh.com
 
Old 03-20-2001, 09:14 AM   #15
calvn
LQ Newbie
 
Registered: Mar 2001
Location: Singapore
Posts: 8

Original Poster
Rep: Reputation: 0
but still, i wanna change the default telnet port to a unique one, i can right?

[Edited by calvn on 03-20-2001 at 10:16 AM]
 
  


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
How do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 12:40 PM
can not telnet localhost 25 but telnet dowell.exper.dynserv.com 25 exper Linux - Software 0 02-25-2004 05:13 AM
Telnet localhost and telnet IP seb77 Linux - Newbie 4 10-15-2003 03:15 PM
enable telnet but can't telnet from the computer guanyu Linux - Networking 8 08-26-2002 06:34 AM
telnet local but no-telnet via internet blacksheep Linux - Networking 7 11-26-2001 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration