I'm getting emai reports of entities trying to brute force their way into my freenas through SSH (I think it is atleast)
Today there were thousands of tries. It makes me uneasy, but I would still like to have my ssh open for me to connect through. Is there any option of making the server block connections from en IP when it fails three times? Or any other kind of measure to stop this from happening?
Code:
freenas.local login failures: Jul 28 00:52:15 freenas sshd[84028]: Failed password for root from 174.127.127.165 port 54278 ssh2 Jul 28 00:52:16 freenas sshd[84030]: Failed password for root from 174.127.127.165 port 54407 ssh2 Jul 28 00:52:18 freenas sshd[84032]: Failed password for root from 174.127.127.165 port 54575 ssh2 Jul 28 00:52:19 freenas sshd[84034]: Failed password for root from 174.127.127.165 port 54692 ssh2
Today there were thousands of tries. It makes me uneasy, but I would still like to have my ssh open for me to connect through. Is there any option of making the server block connections from en IP when it fails three times? Or any other kind of measure to stop this from happening?