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?

you are viewing a single comment's thread
view the rest of the comments
[–] [B] 1 point 2 years ago (1 child)

Also don't use rsa, use Ed25519 nowadays

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

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

  • source
  • parent
  • hideshow 6 child comments
  • [–] [B] 1 point 2 years ago (1 child)

    Well it‘s true that one can use RSA, which is still save with keys big enough, but if someone wants so save some extra computing power and time ed25519 is the way to go.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [B] 1 point 2 years ago (1 child)

    The difference is extremely tiny because asymmetric encryption is only used at the very beginning to securely establish a symmetric key that will be used for everything else afterwards. So you would have to be running this on a smart fridge to notice the speed difference.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [B] 1 point 2 years ago (1 child)
  • [–] [B] 1 point 2 years ago

    Requires an actual hardware error. Almost all implementations, including all open source SSH implementations, check that the signature is valid thus preventing a cosmic ray induced bit flip from triggering this issue and any related issue.

    What effect do hardware errors have on Ed25519?

  • source
  • parent