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.
|
 |
12-20-2002, 10:17 AM
|
#1
|
Member
Registered: Dec 2002
Posts: 63
Rep:
|
starting telnet client
Hi,
I have installed one of the telnet rpm's that comes with redhat 7.2 (not the telnet server version). When i type rpm -q telnet it comes back showing that the package is installed. However, when i try to connect to telnet (either from my windows laptop, or on the linux server - telnet localhost) it comes back with connection refused. I started xinetd and it still didn't work. I don't have the telnet server installed because it needs to be a secure syslog server, but we do need access to the box via telnet. In the neantime i've shutoff xinetd. Did i install the right package? What do i need to start so that i can connect to the box via telnet?
Thanks.
|
|
|
12-20-2002, 11:13 AM
|
#2
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
You need the telnet server, however telnet is NOT secure. For that you should use ssh (man sshd and man sshd). you can access ssh from a Linux box aand from windows you will need a software called putty You can download it from here. If you still want to use telnet, then you have to install the telnet server it is comething like telnet-server-version.architecture.rpm I think that should do it. Though, telnet is a xinetd service, ssh not, it is different the way you configura it... Still I think that you can configure sshd to be a inetd service, but it would be better if yu keep it apart.
Hope I helped. 
|
|
|
12-20-2002, 11:14 AM
|
#3
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
You need to install the telnet daemon (ie the server) if you actually want your server to accept an incoming telnet connection. You installed the client.
|
|
|
12-20-2002, 11:57 AM
|
#4
|
Member
Registered: Dec 2002
Posts: 63
Original Poster
Rep:
|
I installed both the server and the client (I assume that's the other telnet rpm package on the cd --telnet-0.17-20). I went into /etc/xinetd.d/telnet and turned it on, then chkconfig xinetd on, and restarted xinetd and i still get connection refused when i try to telnet localhost or remotely. I've heard that you can telnet with telnetd off....as long as the telnet server rpm is installed. Is this true? Where is telnetd.....is that the telnet in /etc/xinetd.d? Also, when i try netstat -l it doesn't show telnet or port 23.
Thanks.
|
|
|
12-20-2002, 12:30 PM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Check your hosts.allow file.
|
|
|
12-20-2002, 12:38 PM
|
#6
|
Member
Registered: Dec 2002
Posts: 63
Original Poster
Rep:
|
I didn't do anything to hosts.allow or hosts.deny.
|
|
|
12-21-2002, 09:14 AM
|
#7
|
Member
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573
Rep:
|
Do you use a firewall? if so you have to set port 23 to allow onnectios. Still, I insist on ssh.
|
|
|
12-21-2002, 10:44 AM
|
#8
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Quote:
Originally posted by cuss
I didn't do anything to hosts.allow or hosts.deny.
|
I mentioned the hosts.allow file because you just added a new service to your system. You might need to add this service to the file.
|
|
|
03-09-2003, 10:28 PM
|
#9
|
LQ Newbie
Registered: Mar 2003
Location: Now in China
Posts: 2
Rep:
|
After installing telnet server, you need to check the file /etc/xinetd.d/telnet, make sure the line "disable = no" present and re-run xinetd.
|
|
|
All times are GMT -5. The time now is 05:17 PM.
|
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
|
|