[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hosts.(allow|deny)



Hugh Saunders said:

> But i thought it would be more secure to put ALL : ALL in hosts.deny and
> then in.sshd : ALL in hosts.allow. This dosnt work[ssh connections are
> refused], how do i specify that i want all hosts to be able to connect to
> port 22?


hosts.allow/deny can be tricky(one reason I don't use it), your situation
should be fixed by changing in.sshd to sshd. Check  /var/log/daemon.log
for the name of the daemon(s). You should see reject messages for the
sshd service.

another reason I don't use it is I prefer firewalls over it.

nate





Reply to: