Interview Prep/Git & GitHub/Conflicts, remotes, fetch, pull and push

How do you set up SSH authentication to GitHub?

BeginnerConceptConflicts, remotes, fetch, pull and push
Answer

Generate a key, add the public key in GitHub settings, and test. Use Ed25519 and a passphrase with ssh-agent.

ssh-keygen -t ed25519 -C "[email protected]"
ssh-add ~/.ssh/id_ed25519
ssh -T [email protected]
All Git & GitHub questions Roadmap: Git & GitHub

More on Conflicts, remotes, fetch, pull and push