Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Disable ssh access for password-guessing bots' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Disable ssh access for password-guessing bots
Authored by: grefft on Oct 10, '08 08:26:20PM
Thanks for the great tip. I get raked by these bots all the time.
This script seems to be exactly what i need but I'm getting some errors in my system log that appear to be keeping it from running. Any idea what I could do to fix this?

I'm seeing this in system.log every 20 seconds
Oct 10 23:21:36 Home-iMac se.sics.lra.denyhosts[571]:  context is
Oct 10 23:21:36 Home-iMac se.sics.lra.denyhosts[571]: 	                >>>  print <<< 
Oct 10 23:21:36 Home-iMac se.sics.lra.denyhosts[571]: 	extra }
Oct 10 23:21:36 Home-iMac se.sics.lra.denyhosts[571]: /usr/bin/awk: bailing out at source line 19
Oct 10 23:21:36 Home-iMac com.apple.launchd[103] (se.sics.lra.denyhosts[571]): Exited with exit code: 2
thanks again.

[ Reply to This | # ]
Disable ssh access for password-guessing bots
Authored by: lras on Oct 14, '08 12:23:57AM

Check out the comment by

By: tempel on Fri, Oct 10 2008 at 8:56AM PDT

The problem is that the MacOSXHints blog software ate the markup characters.

& and < are not allowed in the XML .plist file, and must be written as &amp; and &gt;




[ Reply to This | # ]