Re: Can't telnet ...
From: Yhetti (spam_at_vaix.net)
Date: 11/08/03
- Next message: Marouen: "Re: How to stop emails"
- Previous message: uberuser: "NEED WISH!"
- In reply to: WipeOut: "Re: Can't telnet ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 07 Nov 2003 23:21:10 -0500
On Thu, 06 Nov 2003 17:08:33 +0000, WipeOut wrote:
> Jordan
>> Hi,
>>
>> I have just installed Red Hat 9 (Server1), and I can't telnet to it. I have
>> no problems telneting from the linux machine(Server1) to any of your other
>> AIX machines (Server2 and Server3) on the network, but when I try to telnet
>> to the linux (Server1) I get:
>> telnet: connect: A remote host did not respond within the timeout
>> period
>>
>> I can however telnet to localhost from Server1, and Server2 and Server3 can
>> ping Server1 .
>>
>> I have checked the following thus far:
>> /etc/services -- telnet was there for udp and tcp
>> rpm -qa |grep telnet-server -- the telnet-server was loaded onto the
>> system
>> /usr/sbin/in.telnetd exists
>> I'm running xinetd -- from output of 'ps -aux |grep xinetd.d'
>> /etc/xinetd.d/telnet - changed 'disable = yes' to 'no', I then
>> restarted the deamon with '/sin/service xinetd restart'
>> Added entries for remote servers in /etc/hosts
>> Edited /etc/hosts.allow -- added in.telnetd servername1 servername2
>> Made sure nothing was in /etc/hosts.deny (will setup proper security
>> once it gets up and running, probably won't even use telnet but ssh)
>>
>> I'm out of ideas, can anyone help?
>>
>> Thanks in Advance
>>
>> Jordan
>>
>>
>>
>>
>
> If you are sure the telnet daemon is running then its probably a
> firewall issue, try shutting down IPTABLES and see if you are able to
> connect..
>
> By Default Telnet is disabled becasue it is very insecure, even if you
> enable the daemon root will not be able to login with telnet..
>
> I would strongly suggest that you change over from telnet to ssh on this
> server and all the others as well..
>
> Later..
I agree with all that, but I didn't notice a listing for "netstat".
Do a "netstat -anp |grep 23" and make sure something is actually
*listening* on TCP port 23. Even though all the configs are there and may
be correct, it does not mean xinetd is doing it's job. If port 23 isn't
listening, check the logs (/var/log) and figure out why xinet died.
-Y
- Next message: Marouen: "Re: How to stop emails"
- Previous message: uberuser: "NEED WISH!"
- In reply to: WipeOut: "Re: Can't telnet ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|