On a freeBSD server, I have a hosts.allow and a hosts.equiv, but no hosts.deny file. Does freeBSD not use the deny file? If it does, can I make the file myself or does it have to be generated by something?
I'm doing this to limit SSH access to our main office on a remote server. I tested it out on an Ubuntu server here. Do these files behave the same way on freeBSD? I.e. can I do this on the freeBSD machine to limit ssh to just my office IP address?:
sshd: <ip address> #this is in the hosts.allow file
sshd: ALL #this is in the deny file
I obviously want to make sure this gets done right the first time, since it's remote and it would be a headache if I locked myself out of the machine. Thanks for input.