Solved

Telnet Problem

Posted on 2003-11-14
11
2,835 Views
Last Modified: 2007-12-19
Hi,

    Recently I installed Linux 8. But I am unable to connect Telnet at clinet side. Both side means client and server Each other ping ok. If I connect by using Telent  "connection refused" Error is  comming. I think it is problem in the services. please tell what services I need to enable......

E-mail: rameshsamala@yahoo.com

Rameshsamala
0
Comment
Question by:rameshsamala
11 Comments
 
LVL 24

Accepted Solution

by:
shivsa earned 84 total points
ID: 9753368
1. check telnet entry in inetd.conf:

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd
2. there is nothing in hosts.deny. Do you have correct entry in /etc/hosts for your local hostname and domain?
also you check to see if there is a corresponding 'NONE' in hosts.allow.

3. Can you telnet to the loopback (127.0.0.1) when you are logged in at the console?
4.  what kind of output this command give netstat -na | grep :23
if u do not get anything then try
 /sbin/chkconfig telnet
/etc/init.d/xinetd status
/etc/init.d/xinetd start

5. if u have firewall enable or tried to enable firewall or something.
then u need to either modify the firewall rules to permit inbound telnet and FTP traffic, or disable the firewall entirely. The later can be done with:

# chkconfig --level 2345 ipchains off
# chkconfig --level 2345 iptables off

That will prevent the firewall from starting at the next boot, and you can kill the running firewall with:

# /etc/init.d/ipchains stop
# /etc/init.d/iptables stop
0
 
LVL 17

Assisted Solution

by:owensleftfoot
owensleftfoot earned 83 total points
ID: 9756495
Edit the file /etc/xinetd.d/telnet and change the line disable = yes to diable  = no. Then issue the command service xinetd restart.
0
 
LVL 8

Assisted Solution

by:_corey_
_corey_ earned 83 total points
ID: 9757718
You might actually still have to install the telnet-server* rpm file off the redhat cd2
0
 
LVL 2

Expert Comment

by:sam_sunder
ID: 9761821
hello Samala,

1. Check wheather the telnet-server  package is installed.
2.  Check if the telnet server is running. You can do it in 3 ways.
        1. Chkconfig --list  and if the telnet service is not on make it on
        2.  Type  ntsysv if you are in super user mode. If the telnet option is not checked check the option and            
                restart xinetd.
        3.  Edit the file /etc/xinetd.d/telnet and change the line disable = yes to diable  = no
3. If your clients are windows OS try using PUTTY Tool Kit. Its a great tool I like it very much. You can download it from http://www.chiark.greenend.org.uk/~sgtatham/putty/

regards,

sam
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 10

Expert Comment

by:Luxana
ID: 9762842
Or try

#setup

then choose system services

check that you have ticked xinetd and telnet then

#/etc/init.d/xinetd restart
0
 
LVL 5

Expert Comment

by:willy134
ID: 9765248
I would be trying to use ssh instead of telnet---it is secure (and telnet is not)
0
 
LVL 2

Expert Comment

by:haydes007
ID: 9767733
I agree with willy. SSH will ensure that people can't ready what is being sent via telnet with a packet analyzer. Try the following command instead:

ssh -l yourlogin address.of.server

the -l lets you specify the login name to use. For more information type man ssh.
0
 
LVL 2

Expert Comment

by:sam_sunder
ID: 9777518
if you want to use ssh. Try using putty.

regards,

sam
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10303390

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between  shivsa, owensleftfoot and  _corey_
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now