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?
Port forwarding will work, but it has major downsides
There are far better and safer alternatives that I would recommend over exposing a raw port to the world.
I would also add twingate as an alternative.