Setting up SSH Repository Access

  1. Generate a key pair if an existing pair doesn’t exist:
ssh-keygen -t ed25519 -C "[email protected]"
  1. Copy public key to clipboard:
cat ~/.ssh/id_ed25519.pub | xclip -selection c
  1. Go to GitHub keys settings and add the public key