Trevor Lauder wrote: > > Only if you are running sshd through the inetd services. If it is then > yes a /etc/hosts.deny entry will work. I doubt that is how it is setup > though, I would just use an ipchains/iptables rule to block that IP. >
sshd can recognize hosts.deny if it has TCP Wrappers support compiled into it even when it isn't started through inetd. You should be able to check by doing "ldd /usr/sbin/sshd" (substitute appropriate path). libwrap should show up in the listing if it supports tcp wrappers. Alex
