https://www.youtube.com/watch?v=on-MniMwdxM
To generate the key use this command
ssh-keygen -t rsa -b 2048
With default settings you can print your public with:
cat ~/.ssh/id_rsa.pub
- On Github to My Profile > Settings > SSH and GPG keys
- Click on
New SSH key
and paste your public key (default:id_rsa.pub
under folder~/.ssh/
)
You can paste the public key in github w or w/o the email address, it does not matter.
Very useful and cool. I never done this type of project earlier.