I was looking around for a way to log SSH connections/tries and implementing an IP blocking system and email notification, since I intend to have it accessible outside my local network, but, as far as I've seen, this is impossible with DropBear.
Is there a way I can do this with OpenSSH or through another method?
(I'm sorry if this was already asked/done, but the Forum search tool blocked every word I tried to use

Thank you in advance!