- 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
- Add the key to ssh
ssh-add ~/.ssh/id_rsa
- The keys are usually saved in
ls ~/.ssh
the default key name isid_rsa
for private key and for the publicid_rsa.pub