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?

  • brandontaylor1@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    As long as password auth is disabled you’re fine. No one is cracking your RSA key. You can add Fail2Ban to reduce the log noise, but security wise it’s fine.

      • upofadown@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        RSA is fine. It isn’t like you will have to worry about the length of the keys for SSH.

        • Beastmind@alien.topB
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months ago

          It is but if you’re going to use something security related, use the current recommendation unless you stricly can’t for legacy reason or something.