i want to remotely ssh to my home server, and I was wondering if I could just forward port 22 with disabling password login and use pubkey authentication will be safe enough?

    • ayoungblood84@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      With a VPN there’s no need to change the port. Unless you change all of your ssh ports to another set pretty across all of your hosts, you’re just asking for a headache at scale.

      • Sekhen@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I have a “prep script” that takes care of everything.

        It takes less than 2 minutes to run on a fresh install and does all kind of fun things.