Computing.Net > Forums > Linux > telnet on redhat

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

telnet on redhat

Reply to Message Icon

Name: Q-taro
Date: July 12, 2002 at 02:52:28 Pacific
Comment:

I'v been trying to connect to other machine(2 redhat7.3 and 1 winxp) by telnet.When I telnet from linux to linux or from windows to linux, it always say like
Connected to 192.168.0.10
Escape charactor is '^]'.
Connection closed by foreign host.
I have no idea what that means.
However telnet from linux to windows is just fine.
allowed hosts are explicitly exist in the telnet file.
Please help



Sponsored Link
Ads by Google

Response Number 1
Name: Lawrence
Date: July 12, 2002 at 05:25:48 Pacific
Reply:

Did you start the telnet daemon on Linux box? It will not let you log in if there is
no running...

Lawrence


0

Response Number 2
Name: Q-taro
Date: July 12, 2002 at 10:43:36 Pacific
Reply:

Yes of course.


0

Response Number 3
Name: Lawrence
Date: July 12, 2002 at 13:55:25 Pacific
Reply:

Even if you have started the telnet daemon,
you still need to able it! If you are
running RedHat Linux, check in /etc/rc.d.
There should be a file called telnet and
look at the content of that fill. You should
probably figure it out yourself...

Lawrence


0

Response Number 4
Name: Q-taro
Date: July 12, 2002 at 17:16:23 Pacific
Reply:

Hi Lawrence. I think the file you are talking about is in /etc/xinetd.d (redhat uses xinetd)
the content of telnet is

service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server =/usr/sbin/in.telnetd
log_on_failure += USERID
only_from = 192.168.0.100
only_from = 192.168.0.99
}

where first IP is windowsxp
second IP is redhat on another machine
Is something wrong wiht the content?
thanks


0

Response Number 5
Name: Lawrence
Date: July 12, 2002 at 20:44:27 Pacific
Reply:

Well, I don't see anything wrong with it but
perhaps you want to install sshd instead
which is more secure then telnet... You
can download the latest version from
www.openssh.com. But come to think of it,
you should have a copy of sshd running on
your RedHat BUT it is an older version where
there is a secure problem. You can read
more about it from their website.

Lawrence


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: telnet on redhat

Why Redhat 7.1 Telnet and FTP are not www.computing.net/answers/linux/why-redhat-71-telnet-and-ftp-are-not-/6039.html

Allowing Telnet in RedHat 9 www.computing.net/answers/linux/allowing-telnet-in-redhat-9/21899.html

How to set telnet on Linux www.computing.net/answers/linux/how-to-set-telnet-on-linux/13146.html