Generating SSH key for GitHub
It’s as easy as 1,2,3….
Step 1 : Generating SSH key
Open your preferred terminal and type ssh-keygen then hit enter.
There will be some questions like Enter Passphrase. Honestly I would not keep any password for ease of use.
Step 2 : Copying the SSH key from the Terminal
After generating the SSH key there will be an Address printed of Where the public SSH key has been saved, that address will be used in this step.
For Mac or Linux Terminal:
pbcopy < [Public_key_address]
For Windows Terminal:
clip < [Public_key_address]
Step 3 : Adding the SSH key to your Github account
Go to your Github account and login.
Then Go to the Settings > SSH and GPG keys > New SSH Key
Then add any random name you want and Paste the SSH key there.
Then in the final step Save the key and voila, it’d done.
And If you are reading this make sure to have a very healthy & happy day :)