Gen Github Key
2026-07-25
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/github
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/github
cat ~/.ssh/github.pub
https://github.com/settings/keys
Add key permanently
vi ~/.ssh/config
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/github
AddKeysToAgent yes