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: lras on Oct 14, '08 12:21:14AM

The problem is that your script is not running as root.
That's why you are not allowed to change the network settings with ipfw, and that's why you are not allowed to write to the /tmp/denyhosts.log, since there is probably a file with that name already which is owned by root. (It was created when you ran the agent earlier. And btw, it can safely be removed.)

I think you have managed to start the script running as yourself, perhaps by putting it in /Users/<yourlogin>/Library/LaunchAgents/ ?



[ Reply to This | # ]