Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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

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

Hi Lawrence. I think the file you are talking about is in /etc/xinetd.d (redhat uses xinetd)
the content of telnet isservice 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

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

![]() |
![]() |
![]() |

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