On Thu, 7 Nov 2002, Benedict Verheyen wrote:

> Hi,
>
> i have some problems setting up ssh connection (not the scope of this email though 
>not yet :-) and i came across the /etc/hosts.allow & /etc/hosts.deny files.
>
> Now, i saw in some documents about ssh that they add "sshd: all" to the
> /etc/hosts.allow file. Am i correct that these 2 files are only used when you have 
>inetd enabled and that they otherwise serve no purpose?
> So if i don't have inetd running, these 2 files are useless?
>
> I have disabled inetd on my server machine and run all programs as daemons.
>

Some programs are compiled with tcp-wrapper options, such as sshd. So for
sshd you can restrict the connections by /etc/hosts.deny and
/etc/hosts.allow.

Qian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to