Skip to content

Instantly share code, notes, and snippets.

@hwclass
Created July 24, 2017 16:20
Show Gist options
  • Save hwclass/d8f6a9b4b453d3b400be3c2849bf9ce4 to your computer and use it in GitHub Desktop.
Save hwclass/d8f6a9b4b453d3b400be3c2849bf9ce4 to your computer and use it in GitHub Desktop.
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
Enter a file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter]
Enter passphrase (empty for no passphrase): [Type a passphrase]
Enter same passphrase again: [Type passphrase again]
pbcopy < ~/.ssh/id_rsa.pub
Go to the Github profile and update the RSA key there by adding a new name for it
@hwclass
Copy link
Author

hwclass commented Jul 25, 2017

ssh-add -K ~/.ssh/id_rsa

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