Fortigate SSH Brute Force Attacks
I've been googling this without finding an answer. Is there a mechanism in the Fortigate firewall to block an IP after a certain number of failed ssh attempts on the firewall itself? Something like what fail2ban provides?
I wish to keep ssh access available on the wan IP. I've tried changing the port a few times, but the attackers are using distributed port scans to find the ssh port. I currently block an IP for 6 months after 50 ports have been scanned or an icmp sweep of 8 or more IPs.
The web auth allows timeouts and number of failed attempts before lockout. Is there any setting like for for SSH? How about only allowing SSH login with keys and no passwords?
I know about trusted hosts and I'd rather not do that if necessary.