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 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/
  4. Copy and paste the terminal output into the Github page you opened before.

Title format courtesy of Hammacher Schlemmer.

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