LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-20-2002, 11:17 AM   #1
cuss
Member
 
Registered: Dec 2002
Posts: 63

Rep: Reputation: 15
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.
 
Old 12-20-2002, 12:13 PM   #2
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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.
 
Old 12-20-2002, 12:14 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
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.
 
Old 12-20-2002, 12:57 PM   #4
cuss
Member
 
Registered: Dec 2002
Posts: 63

Original Poster
Rep: Reputation: 15
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.
 
Old 12-20-2002, 01:30 PM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Check your hosts.allow file.
 
Old 12-20-2002, 01:38 PM   #6
cuss
Member
 
Registered: Dec 2002
Posts: 63

Original Poster
Rep: Reputation: 15
I didn't do anything to hosts.allow or hosts.deny.
 
Old 12-21-2002, 10:14 AM   #7
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Do you use a firewall? if so you have to set port 23 to allow onnectios. Still, I insist on ssh.
 
Old 12-21-2002, 11:44 AM   #8
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
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.
 
Old 03-09-2003, 11:28 PM   #9
sshanggu
LQ Newbie
 
Registered: Mar 2003
Location: Now in China
Posts: 2

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


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
Best Telnet Client? Haggis Linux - Newbie 1 12-29-2004 02:05 PM
What telnet client? rivethead Linux - Software 3 03-25-2004 03:10 PM
Starting Telnet server at bootup bbusse Linux - General 1 03-05-2003 05:32 PM
What telnet client ? rivethead Linux - Software 5 02-27-2003 01:33 PM
Starting telnet service in RedHad 7.1 - How? feaz Linux - Networking 5 04-24-2002 06:29 PM


All times are GMT -5. The time now is 01:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration