Skip to content

Instantly share code, notes, and snippets.

@SeanZoR
Last active September 19, 2017 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SeanZoR/28af00b7377967042e3f0f9c390740a9 to your computer and use it in GitHub Desktop.
Save SeanZoR/28af00b7377967042e3f0f9c390740a9 to your computer and use it in GitHub Desktop.
Mac + Github = SSH

Generate the key with no password (just click enter) ssh-keygen -t rsa -b 4096 -C "email@example.com"
Copy to clipboard pbcopy < ~/.ssh/id_rsa.pub
Paste the key to your github account
Allow access ssh -T git@github.com, say yes

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