Skip to content

Instantly share code, notes, and snippets.

@florianpasteur
Last active November 23, 2020 18:23
Show Gist options
  • Save florianpasteur/516e2bc7ad6db2f84dcfc3988b5eef81 to your computer and use it in GitHub Desktop.
Save florianpasteur/516e2bc7ad6db2f84dcfc3988b5eef81 to your computer and use it in GitHub Desktop.
Generate SSH key for Github

Video tutorial

Video tutorial

https://www.youtube.com/watch?v=on-MniMwdxM

Generate the key

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

Add public key to Github

You can paste the public key in github w or w/o the email address, it does not matter.

@raghavpatel1413
Copy link

Very useful and cool. I never done this type of project earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment