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 in San Francisco. I'm currently working on Stripe Terminal.

Made by James Little between 2016 and 2020.