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.
-- Personal: Trevor Lauder Web: http://www.thelauders.net E-Mail: [EMAIL PROTECTED] Work: Trevor Lauder Technical Services Specialist Wireless Networks Inc. Web: http://www.wirelessnetworksinc.com E-Mail: [EMAIL PROTECTED] Jesse Kline said: > Hi, > > I have set my firewall to port forward ssh port 22 to my main machine > on my network. Today my firewall reported that someone was getting > curious about port 22. To add a little extra security I figured I should > make sure that the IP address in question was denied. Will adding the IP > to /etc/hosts.deny make any difference to sshd, or do I have to use > another file? > > Thanks, > > Jesse
