OpenSSL

Generate your SSH identity

Create your private key

Please use a password, although its not required

ssh-keygen -t rsa -b 4096 -a 64 -f ~/.ssh/id_rsa -C firstname.lastname

Generate a public key

ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub

Check the file contents

openssl rsa -in ~/.ssh/id_rsa -text