keys are more than enough for security but keya doesn’t reduce automated scanner traffic at all. for each automated scan, the server will open a connection and attempt to authenticate the client which consumes resources and spams logs. When I switched to a different port, my automated scanner traffic dropped to essentially zero.
I would add changing the SSH port to one that isn’t 22. This isn’t any more secure, but does tamp down on automated scanner traffic.
You can also add endlesssh behind port 22 to slow down attackers, and of course install fail2ban
Thanks for sharing, never heard of endlesssh and tonight ima gonna reopen port 22 :)
Isn’t adding a key more than enough?
keys are more than enough for security but keya doesn’t reduce automated scanner traffic at all. for each automated scan, the server will open a connection and attempt to authenticate the client which consumes resources and spams logs. When I switched to a different port, my automated scanner traffic dropped to essentially zero.
Gotcha! Yeah, I never left default ports at my last job and my only remaining personal server is on 22, but it’s under zero load.