HowTo Create SSH Keys

[crayon-66228728d023f110338044/] You can press enter here, saving the file to the user home (in this case, my example user is called demo). [crayon-66228728d0243352223175/] Press enter if you want a password-less key or type your password: [crayon-66228728d0245895888959/]   Copy you ssh key to your VPS (non-root user): It will ask for your password [crayon-66228728d0246205187709/]   Copy you ssh key to your VPS (root user): Login with your non-root user, become root (sudo su) and copy/paste your ssh public key (ex. id_rsa.pub) in /root/.ssh/authorized_keys. Step 1: [crayon-66228728d0248529120604/] Step 2: [crayon-66228728d0249330462778/] Step 3 (optional): if the .ssh directory doesn't exist, create it [crayon-66228728d024a015126985/] Step 4: Paste your public key (ex. id_rsa.pub) in authorized_keys [crayon-66228728d024b436633603/]  
Read More