Nah, it's not that risky with private keys, timely security updates , and a correct configuration. But you'd be much safer with WireGuard in front.
I've been around long enough to remember upgrading servers from telnet to ssh. Some of those servers were on the public internet with `root` / `rootroot` credentials, which wasn't all that dangerous back then either, which is very funny now.