Hacker News new | ask | show | jobs
by abroszka33 10 days ago
Same setup. I went with Debian. Non standard ssh port, no pass, key only and wireguard. So far so good.
1 comments

You're not gonna get pwned through SSH. You'll get pwned through some random dependency one of your things is using.
Is that possible if there are only 2 open ports on the whole machine? Everything else is on the VPN. I think either SSH or WireGuard must have a vulnerability to get pwned.
A recent CVE in GhostScript was responsible for an RCE in imagemagick. That means a box processing those files can get pwned without any open ports.