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?
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?
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.
I think that legacy reason in this case would be already having RSA keys. The point is that you don’t have to go through the bother of replacing them.