I have been trying to restric the access of my sshd using th following method:

I set the hosts.deny to
ALL:ALL

and the hosts.allow for

ALL: 10.0.0.1

where the 10.0.0.1 is the ip I want to allow. but it won't allow the 10.0.0.1

I may also configure this in my firewall setting but I want to know what is wrong.


Thanks