Setup GitHub with SSH¶
- 
Check if you already have SSH key. ls ~/.ssh/id_*
- 
Generate new SSH key (if needed) ssh-keygen -t ed25519 -C "[email protected]"
- 
Add the SSH key to the SSH agent (you can trust this agent). - 
Start the agent eval "$(ssh-agent -s)"
- 
Add your key ssh-add ~/.ssh/id_ed25519
 
- 
- 
Add the public key to GitHub 
cat ~/.ssh/id_ed25519.pub