We have four broad steps to achieve this goal. They are as follows. Step 1 → Add Public Key Authentication The next step in securing your server is to set up public key authentication for your new user. Setting this up will increase the security of your server by requiring a private SSH key to log in. Generate a Key Pair …