1. Create your key either for a speciffic emai address or for your use ssh-keygen -t rsa -b 4096 -C "[email protected]"

ssh-keygen -t rsa -b 4096 -C $USER

  1. Add the key to ssh

ssh-add ~/.ssh/id_rsa

  1. The keys are usually saved in
    ls ~/.ssh the default key name is id_rsa for private key and for the public id_rsa.pub