How to setup an SSH login using host keys instead of a password.

To setup an SSH login on your Linux machine that does not require a password and uses SSH host keys instead, follow this simple guide. Firstly, generate a set of keys for your SSH login. ubuntu ~/Documents $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa): /home/ubuntu/Documents/id_rsa Enter … Read more