Re: ssh to work with redhat 9
Jay Fenlason <[email protected]> Tue, 16 Sep 2003 17:00:49 -0400
| Newsgroups | gmane.network.xinetd |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Sep 16, 2003 at 01:24:34PM -0700, Jonathan Chen wrote:
> Hello,
>
> I had ssh to work with RH 7.2 and copying the same
> info to RH9 and it seems not working. I've tried to
> turn off sshd so that only xinetd answers the calls
> and it seems to not work. Where else do I need need
> to change in order to get ssh to work with xinetd?
>
> Secondly, has anyone tried to get xinetd to work with
> samba?
>
> Here is my ssh info...
>
> service ssh
> {
> disable = no
> socket_type = stream
> wait = no
> user = root
> server = /usr/sbin/sshd
> #It's not listed in my /etc/services
> port = 22
> server_args = -i
> only_from = 192.168.5.0/24 localhost
> log_on_failure = ATTEMPT HOST USERID
>
> }
>
>
> I almost followed word for word from a recommended
> xinetd tutorial link.
"man xinetd.conf" says that you need "type = UNLISTED" for services
not listed in /etc/services. This is a feature in newer versions of
xinetd. You may still be running an old version on your Red Hat Linux
7.2 system that pre-dates this requirement.
I don't think it would be practical to get Samba to work under Xinetd.
And why would you want to? Samba already has a reasonable set of
access controls.
-- JF