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