Answer the question
In order to leave comments, you need to log in
How to protect yourself from SSH attacks?
I installed fail2ban, it doesn't help much, VPS are still attacked. The port also changed.
Answer the question
In order to leave comments, you need to log in
What exactly do you mean by protection?
Do you need the attacks to stop completely? If so, then the only way is to disable SSH access.
If you need to prevent attacks from succeeding, then what is wrong with fail2ban ?
The main thing: Entry _only_ by keys.
Then you can fail2ban, restrict access to certain IPs, change the port.
Well, this is always the case, if ssh or, for example, asterisk hangs outside, bots will immediately run into it.
and if you allow access only from 1-3 of their addresses? or use port-knoking?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question