Guide to config the proper GitHub SSH
# Ed25519 (recommended)ssh-keygen -t ed25519 -C "your_email@example.com"
# RSA (if Ed25519 not supported)ssh-keygen -t rsa -b 4096 -C "your_email@example.com"# Start ssh-agenteval "$(ssh-agent -s)"
# Add your SSH private keyssh-add ~/.ssh/id_ed25519# Copy public key to clipboardpbcopy < ~/.ssh/id_ed25519.pubThen go to GitHub → Settings → SSH and GPG keys → New SSH key
ssh -T git@github.comHost github-personal HostName github.com User git IdentityFile ~/.ssh/id_personal
Host github-work HostName github.com User git IdentityFile ~/.ssh/id_work