How to create and use SSH-keypairs

Done on Ubuntu 16.04 LTS 64-bit How to create and use SSH-keypairs First create a hidden directory to your users home directory, sudo mkdir /home/kristian/.ssh Add your authorized keys file inside the .ssh directory, touch /home/kristian/.ssh/authorized_keys Change permissions for the directory and the authorized keys file. sudo chmod 700 /home/kristian/.ssh sudo chmod 600 /home/kristian/.ssh/authorized_key Next Read more about How to create and use SSH-keypairs[…]