Link Search Menu Expand Document

Cook

Use ssh key for github

Generate ssh key

ssh-keygen -t ed25519 -C "your_email@example.com"

Add ssh key

  1. Copy the SSH public key to your clipboard (instructions below for mac)
    pbcopy < ~/.ssh/id_ed25519.pub
    # Copies the contents of the id_ed25519.pub file to your clipboard
    
  2. Upload it to github