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.
|
 |
02-11-2003, 08:45 PM
|
#1
|
LQ Newbie
Registered: Jun 2001
Location: IL
Distribution: Red Hat Linux 7.1
Posts: 21
Rep:
|
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?
|
|
|
02-11-2003, 09:17 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
02-11-2003, 10:36 PM
|
#3
|
Member
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789
Rep:
|
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. 
|
|
|
02-12-2003, 02:13 AM
|
#4
|
Member
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218
Rep:
|
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"
|
|
|
02-12-2003, 05:02 PM
|
#5
|
Member
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789
Rep:
|
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! 
|
|
|
02-13-2003, 07:31 AM
|
#6
|
Member
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218
Rep:
|
Quote:
Originally posted by Texicle
Good to know! Thanks KayJay!
|
no problem 
|
|
|
02-14-2003, 04:28 PM
|
#7
|
Member
Registered: Feb 2003
Location: NorthEast
Distribution: RH 8.0
Posts: 34
Rep:
|
hey guys, what is SSH? How do I use it to replace telnet? will SSH allow remote login as root?
|
|
|
02-16-2003, 01:59 PM
|
#8
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
All times are GMT -5. The time now is 09:33 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
|
|