Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Fail2ban: email notifications and banning ssh IP logins


  • Please log in to reply
No replies to this topic

#1 black_lion

black_lion

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Local time:05:33 PM

Posted 23 December 2013 - 07:06 AM

Hi all. I am using Cygwin in Windows 7 and am trying to setup fail2ban so that I can ban foreign IP addresses under SSH, also getting email notifications. I downloaded fail2ban and installed it. I then created jail.local copy from jail.conf and changed some values in jail.local. Now when I try to restart it using:

fail2ban restart

I get the following error: -bash: fail2ban: command not found

Also same error when I type fail2ban --help

What could be the problem? Thanks



BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users