I, recently, started running a Lemmy instance. I am, also, new to Linux servers.

At the advisement of some tech acquaintances, I’ve installed UnnattendedUpgrades and Fail2ban.

What would you recommend?

  • sexy_peach@feddit.de
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    Don’t allow root ssh access, you could also change the ssh port to one that’s not 22. Also you could disallow ssh password login and allow key-based authentication only.

    • krolden
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      Also try to set it up without installing sudo , which will eliminate a lot of privilege escalationvulnerabilities.