Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mikaelvesavuori/b931cd85a95a7ccb680fb912aa023dbe to your computer and use it in GitHub Desktop.
Save mikaelvesavuori/b931cd85a95a7ccb680fb912aa023dbe to your computer and use it in GitHub Desktop.
Writing and reading SSH keys on Mac
# Generate key
ssh-keygen -t rsa -b 4096
# Copy public key to clipboard
pbcopy < ~/.ssh/id_rsa.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment