Re: ssh to work with redhat 9

Steve G <[email protected]> Tue, 16 Sep 2003 17:54:23 -0700 (PDT)
Newsgroups gmane.network.xinetd
Message-ID <[email protected]>
>> I had ssh to work with RH 7.2 and copying the same
>> info to RH9 and it seems not working.
>> Where else do I need need to change in order to get 
>>ssh to work with xinetd?

I copy & pasted your setting into my RH 9 system, adjusted the
only_from for my network, killed sshd, & restarted xinetd. It
works fine. I can connect with ssh. 

What error message are you getting? Have you checked your
firewall & hosts.allow files? netstat -taun | grep LISTEN

>"man xinetd.conf" says that you need "type = UNLISTED" 
>for services not listed in /etc/services.

Right. However ssh is a listed service.

service ssh
{
   port = 22
}

Now if you have a port statement, it has to match what
/etc/services says. Otherwise you tell xinetd that its unlisted.
But again, ssh is listed for port 22.

-Steve Grubb

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com