Last Updated on August 14, 2022 by Thiago Crepaldi
For future posts, you will need to have at least one pair of public/private SSH keys installed on your devices for no password access to them. To do so, simply run ssh-keygen -t rsa -b 4096 to generate a 4096 bits RSA key. You will be asked to confirm the key name. Accept the default name (aka ~/.ssh/id_rsa) by hitting <Enter> or type a full filename for them. Run ssh-keygen –help for details.
Now that you have your keys, copy both your public (aka ~/.ssh/id_rsa.pub) and private (aka ~/.ssh/id_rsa) keys in a safe place, so that you can reinstall them as needed in case of a system recovery. Have fun!