When you spin up a fresh public Linux instance, automated scanners start knocking on your doors within milliseconds.

It doesn’t take much to get locked down properly, but missing a few basics can leave you exposed.

I’ve put together a straightforward guide covering the essential hardening steps from UFW and SSH key-only auth to secure Docker bindings and automated maintenance.


Original content by The Unknown Universe, written by a human and not AI generated!

  • MangoCat
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    I’m gonna go out on a limb here and liken the encrypted shell access that requires an additional secret to two secrets written on a sticky note instead of one…

    • TrollAccount69@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      Are you now making an argument against password ssh or against obscurity altogether?

      If it’s the former I’m on your side. Key ssh with passwords turned off defeated the recent asterisk mess if anyone was unfortunate enough to be relying on musl ssh.