Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Doesn't work in 10.0.1 release?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Doesn't work in 10.0.1 release?
Authored by: therav! on Jun 22, '02 04:32:44AM

sshd : localhost : allow
sshd : : allow
sshd :
sshd : ALL : deny

actually the above syntax is not correct. or at least not if you enter it exactly like that. what you would do is create both a hosts.allow and hosts.deny file in the hosts.deny file you would enter ALL:ALL
in the hosts.allow file you would enter sshd:,192.168.1.

if in the deny list you don't want to deny all services but just the sshd daemon then alternatively you could enter sshd: ALL in the deny file. But generally, from a security perspective, you should deny everything to everyone and then explicitly allow only what you need to allow in the hosts.allow file.

[ Reply to This | # ]