The Most Efficient Github SSH Key Generation Process

I generate SSH keys a lot. Here’s how to make them (and add them to your Github account) as fast as humanly possible.

  1. Open https://github.com/settings/ssh/new in a new tab
  2. Run ssh-keygen -t rsa -b 4096 in your terminal. Make a passphrase. Save the key in the default location.
  3. Run eval "$(ssh-agent -s)"; ssh-add ~/.ssh/id_rsa; cat ~/.ssh/id_rsa.pub
  4. Copy and paste the terminal output into the Github page you opened before.

Title format courtesy of Hammacher Schlemmer.


Who am I?
I'm James Little, a software engineer and design enthusiast based in Boston, MA. I work at Stripe on the Docs team, and I build a search web tool called Stork Search.

Come say hello!
If you liked this post, come say so by signing my guestbook!

Made by James Little between 2016 and 2022.