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!

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 day ago (5 children)

It's nice that your system has layers, but when the cutworms get on your onion they can still spoil the whole thing.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 19 hours ago (4 children)

    Sure, onions can go all the way bad. I’d rather put my special thing inside an onion than an apple.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 10 hours ago (3 children)

    Apples, Onions, Chocolate Mousse, I'd rather have any of them inside a bomb-proof safe.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 8 hours ago (2 children)

    I’m gonna go out on a limb here and liken the encrypted shell access that requires an additional secret just to have one’s password considered closer to the bombproof safe than to a food item.

    A metaphor is nice but actually completing it is what puts it above mere allusion.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 7 hours ago (1 child)

    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...

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 7 hours 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.

  • source
  • parent