Re: hosts.deny and hosts.allow problem
From: Andrew Schulman (andrex_at_deadspam.com)
Date: 06/14/05
- Next message: Bit Twister: "Re: hosts.deny and hosts.allow problem"
- Previous message: dan: "hosts.deny and hosts.allow problem"
- In reply to: dan: "hosts.deny and hosts.allow problem"
- Next in thread: Bit Twister: "Re: hosts.deny and hosts.allow problem"
- Reply: Bit Twister: "Re: hosts.deny and hosts.allow problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 14 Jun 2005 20:58:15 GMT
> Hi. I'm having trouble setting up my hosts.allow and hosts.deny files.
> Basically I only want to be able to ssh in from one particular ip
> address, e.g. xxx.xxx.xxx.xxx.
>
> When my setup is:
>
> # cat /etc/hosts.deny
> ALL: ALL
>
> # cat /etc/hosts.allow
>
> I _cannot_ ssh in, as expected.
>
> When it is:
>
> # cat /etc/hosts.deny
>
> # cat /etc/hosts.allow
>
> I _can_ ssh in, as expected
>
> But when it is:
>
> # cat /etc/hosts.deny
> ALL: ALL
>
> # cat /etc/hosts.allow
> sshd: xxx.xxx.xxx.xxx
>
> I cannot ssh in.... I can't even get in when I do:
>
> # cat /etc/hosts.allow
> sshd: ALL
>
> So it seems like hosts.deny works as I would anticipate, but
> hosts.allow doesn't seem to be overuling hosts.deny.
Strange... I have this identical setup, and it works fine. Maybe RH9
has a switch that determines whether hosts.allow overrules hosts.deny.
Or, maybe you have a syntax error (stray control character?) that
prevents hosts.allow from being parsed correctly. ??
-- To reply by email, replace "deadspam.com" by "alumni.utexas.net"
- Next message: Bit Twister: "Re: hosts.deny and hosts.allow problem"
- Previous message: dan: "hosts.deny and hosts.allow problem"
- In reply to: dan: "hosts.deny and hosts.allow problem"
- Next in thread: Bit Twister: "Re: hosts.deny and hosts.allow problem"
- Reply: Bit Twister: "Re: hosts.deny and hosts.allow problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|