jbutko
4/26/2017 - 12:55 PM

Add your ssh public key to authorized_keys on the server

Add your ssh public key to authorized_keys on the server

create and paste public key (id_xsa.pub) into authorized_keys

nano ~/.ssh/authorized_keys

set permission of authorized_keys to 600

chmod 600 ~/.ssh/authorized_keys

set permission of .ssh folder to 700

chmod 700 ~/.ssh/

via https://askubuntu.com/questions/46424/adding-ssh-keys-to-authorized-keys#answer-46425