Red Hat Installation - Cannot telnet to Red hat 9

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Installation > October 2005 > Cannot telnet to Red hat 9





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Cannot telnet to Red hat 9
admin@loial.co.uk

2005-10-24, 3:44 pm

I cannot telnet to mt red hat 9 server.

hosts.allow and hosts.deny are empty. xinetrd.d/telnet has disable = no

Any ideas?

It can telnet to it self, but not from elsewhere

Bit Twister

2005-10-24, 3:44 pm

On 11 Oct 2005 02:04:01 -0700, admin@loial.co.uk wrote:
> I cannot telnet to mt red hat 9 server.


well that keeps your login/password from being passed as clear text
where a sniffer can get a copy.

I find ssh easy and no fussing with $DSIPLAY required.

> hosts.allow and hosts.deny are empty. xinetrd.d/telnet has disable = no


Yeow. but nice to know, Yes I know your debugging, just remember to
get ALL: ALL back in hosts.deny

For debugging tcpwrappers problems, I put the following in hosts.deny
ALL: ALL:\
spawn ( \
/bin/echo -e "\n\
TCP Wrappers\: Connection Refused\n\
By\: $(uname -n)\n\
Process\: %d (pid %p)\n\
\n\
User\: %u\n\
Host\: %c\n\
Date\: $(date)\n\
" | /bin/mail -s \"$(uname -n)\" root ) & : DENY

Did you bounce xinetd so it reads your xinetrd.d/telne change?
On my distro I do a service xinetd reload

> Any ideas?


Yes,

> It can telnet to it self, but not from elsewhere


Well there goes one.
Firewall blocking?

Scott Moseman

2005-10-24, 3:44 pm

Run whichever one of these is relevant...

/etc/init.d/ipchains stop
/etc/init.d/iptables stop

And try the telnet again. See if it's blocked by the firewall.

Thanks,
Scott

admin@loial.co.uk

2005-10-24, 3:44 pm

Security is set to "No firewall", but I still cannot telnet



Scott Moseman wrote:
> Run whichever one of these is relevant...
>
> /etc/init.d/ipchains stop
> /etc/init.d/iptables stop
>
> And try the telnet again. See if it's blocked by the firewall.
>
> Thanks,
> Scott


admin@loial.co.uk

2005-10-24, 3:44 pm

I ran /etc/init.d/iptables stop but it make no difference

Jerry Natowitz

2005-10-24, 3:44 pm

In article <1129109631.246105.87370@o13g2000cwo.googlegroups.com>,
<admin@loial.co.uk> wrote:
>I ran /etc/init.d/iptables stop but it make no difference
>


Take a look at /etc/inetd.conf - the line for telnet is probably commented.

This might be a good opportunity to start using ssh instead of telnet, but
if you insist, uncomment the telnet line, and either send a HUP signal to
inetd (kill -HUP <PID of inetd> ) or reboot.
admin@loial.co.uk

2005-10-26, 7:54 am

This is weird. Sometimes I can telnet but then at other tinmes I get
error "Connection closed by foreign host".I am always telneting from
the same host.




Jerry Natowitz wrote:
> In article <1129109631.246105.87370@o13g2000cwo.googlegroups.com>,
> <admin@loial.co.uk> wrote:
>
> Take a look at /etc/inetd.conf - the line for telnet is probably commented.
>
> This might be a good opportunity to start using ssh instead of telnet, but
> if you insist, uncomment the telnet line, and either send a HUP signal to
> inetd (kill -HUP <PID of inetd> ) or reboot.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com