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?
This is my current hardened sshd configuration.
ssh/sshd_config: https://pastebin.com/7tH36TdJ
pam.d/sshd: https://pastebin.com/eqkisf4F