Skip to content

Instantly share code, notes, and snippets.

@wanghailei
Created January 19, 2013 15:23
Show Gist options
  • Save wanghailei/4573140 to your computer and use it in GitHub Desktop.
Save wanghailei/4573140 to your computer and use it in GitHub Desktop.
Generate a SSH on OS X.
ssh-keygen -t rsa -C "your_email@youremail.com"
# Creates a new ssh key using the provided email
pbcopy < ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment