Thanks for all the replies! Very much appreciated!
I turned off passwords and moved to public key authorization.
I found that the LAMP server had suhosin already after all, saved me some time.
Activated the limit function in UFW to ban IPs with multiple failed logins.
Installed logwatch, it seems to do reports via e-mail so I guess I need to open holes in the firewall for that... Would allow smtp be enough?
I still couldn't get ssh to work over a custom port but it may have something to do with the firewall on my local machine, I'll investigate it further but if I understand correctly then when using key authorization it may not be that urgent.
vonskippy wrote:
How are you running phpmyadmin? It's a very popular (and successful) attack vector.
Not really sure what you mean by "how" I run it? I have since (based on jlevandowski's suggestion, thanks!) changed it to run over HTTPS. I also put all of it behind an .htaccess password, I figured that you'd have to crack that password before you can see that the server is running phpmyadmin at all. Famous last words, I know, but at least it's not immediately obvious to the casual observer.