Originally published at: https://www.cyberciti.biz/faq/how-to-set-up-ssh-keys-on-linux-unix/
I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for Linux/Unix, how do I set up public key authentication?