I just started self hosting. I have been really enjoying it so far but I’m nervous that the excitement will wear off soon unless something stressful or even catastrophic happens. Any advice?

    • Crash@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      …how bad would it be if i actually tried this. not the hammer part but now i really wanna know what happens if i open port forward to 22.

      • glizzyguzzler@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 days ago

        SSH lets you remotely control a computer It runs on port 22 If you forward port 22 to your computer, you will allow anyone on the internet to SSH to your computer

        You can do that pretty safely by disabling root login and disabling password logins - only using keys to SSH in.

        You can join the borg botnet by enabling root login, setting a simple password (maybe even password as recommended!), and waiting.

        • GreenCrunch@piefed.blahaj.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          on any server with ssh exposed you’ll probably see a bunch of login attempts in the logs (automated attacks trying to find machines with a weak password). only keys is the way lol.