HowTo Create SSH Keys
[crayon-686b0683333e0809859690/] You can press enter here, saving the file to the user home (in this case, my example user is called demo). [crayon-686b0683333e6425461264/] Press enter if you want a password-less key or type your password: [crayon-686b0683333e7821880269/] Copy you ssh key to your VPS (non-root user): It will ask for your password [crayon-686b0683333e9709426643/] 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-686b0683333eb542383486/] Step 2: [crayon-686b0683333ec627174091/] Step 3 (optional): if the .ssh directory doesn't exist, create it [crayon-686b0683333ed050779216/] Step 4: Paste your public key (ex. id_rsa.pub) in authorized_keys [crayon-686b0683333ef786842398/]