This is what I do. Changing the port to a higher number will prevent almost all bots.
I understand that obscurity is not security but not getting probed is nice.
Also ssh keys are a must.
I do log in as root though.
However, I block all IPs other than mine from connecting to this port in my host’s firewall. I only need to log in from home, or my office, and in a crisis I can just log in to OVH and add whitelist my IP.
joshcodes@programming.dev 1 week ago
For added funs run an SSH tarpit to fuck with the attackers, something like endlessh.
phoenixz@lemmy.ca 1 week ago
Well yeah, sure, but that doesn’t really add to your security and it only costs you work and resources
joshcodes@programming.dev 1 week ago
100% agree, that is a “totally for fun” exercise