Skip to content

Instantly share code, notes, and snippets.

@thebapi
Last active January 1, 2016 22:39
Show Gist options
  • Save thebapi/8211200 to your computer and use it in GitHub Desktop.
Save thebapi/8211200 to your computer and use it in GitHub Desktop.
cd ~/.ssh
ssh-keygen -t rsa -C "your_email@example.com"
ssh-add id_rsa &>/dev/null
pbcopy < ~/.ssh/id_rsa.pub
finally add the pub key in the git settings at github or reltaed site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment