LinuxQuestions.org
Visit Jeremy's Blog.
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 02-11-2003, 08:45 PM   #1
george3k
LQ Newbie
 
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21

Rep: Reputation: 15
Opening Ports


I am having connection issues with my new box. When I use IE, I can get the apache test page no problem. When I try and telnet in, port 23 is tried and the connection is failed. My only conclusion is that the http protocol goes through but something isn't configured correctly to allow the telnet connection to go through. Can anyone help with this?
 
Old 02-11-2003, 09:17 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi George!

Since telnet doesn't use encrypted passwords
when going over the wire it's rightfully considered
a security hole and disabled by default...

You might want to try using ssh instead.

If you insist on telnet you'll have to edit
your xinetd's configuration ... man xinetd
to find it's name/location, haven't touched
RedHat in ages

Cheers,
Tink
 
Old 02-11-2003, 10:36 PM   #3
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Tinkster's right. You might want to check your inetd.conf file also which has all your services that are available to run. Make sure that your telnet service isn't commented out (doesn't have a # at the beginning of the line). I don't know where your inetd.conf is located as I don't use RedHat, but you can do a "whereis inetd.conf" or "locate inetd.conf" and that might produce better results for you. Another one to check is /etc/services which will list all your ports and the services connected to them (telnet is typically port 23). Make sure that the port isn't commented out there as well.

I do, however, have to agree with Tinkster in that you should probably look into ssh instead of telnet, but it's your system so you can do what you want. Hope this helps.
 
Old 02-12-2003, 02:13 AM   #4
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
FYI: Redhat doesnt use the older inetd but the newer xinetd.
u should check in /etc/xinetd.d the telnet file. (vi /etc/xinetd.d/telnet)
see if it isnt set to "disable = yes"
 
Old 02-12-2003, 05:02 PM   #5
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by KayJay
FYI: Redhat doesnt use the older inetd but the newer xinetd.
u should check in /etc/xinetd.d the telnet file. (vi /etc/xinetd.d/telnet)
see if it isnt set to "disable = yes"
Good to know! Thanks KayJay!
 
Old 02-13-2003, 07:31 AM   #6
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
Quote:
Originally posted by Texicle
Good to know! Thanks KayJay!
no problem
 
Old 02-14-2003, 04:28 PM   #7
importboy03
Member
 
Registered: Feb 2003
Location: NorthEast
Distribution: RH 8.0
Posts: 34

Rep: Reputation: 15
hey guys, what is SSH? How do I use it to replace telnet? will SSH allow remote login as root?
 
Old 02-16-2003, 01:59 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by importboy03
hey guys, what is SSH? How do I use it to replace telnet? will SSH allow remote login as root?
Look here ... ssh is a secure shell,
you just type ssh <host> instead of telnet <host>,
and yes, it will allow a remote root login. :)

Cheers,
Tink
 
  


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
opening ports I think jleipert Linux - Security 7 09-04-2005 09:14 AM
Opening ports lunke Linux - Security 10 06-07-2005 03:04 AM
Opening ports for games. fipeso Linux - Security 2 05-02-2005 01:39 PM
Ports still not opening! Help? spam4scott Linux - Networking 1 05-28-2004 12:48 AM
Help with iptables and opening ports barbar4854 General 3 02-06-2004 01:00 PM

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

All times are GMT -5. The time now is 09:33 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