Goal: connect to a remote server by ssh keys (without a password)
on your local computer:
openssl genrsa -rand /dev/random -out id_rsa 2048
then get the public key:
openssl rsa -pubout -in id_rsa -out id_rsa.pub
put those 2 files in your ~/.ssh folder