Vovy creates an ed25519 SSH key, saves its passphrase in your macOS Keychain, adds it to GitHub, and tests the connection.
Make an SSH key and add it to GitHub so git push stops asking for a password
How it works
- Check for existing keys: Vovy looks in ~/.ssh for keys you already have, so you do not end up with a pile of mystery keys.
- Generate a new key: Vovy runs ssh-keygen -t ed25519. An SSH key is a pair: a private half that never leaves your Mac and a public half you give to GitHub.
- Save it in Keychain: Vovy adds the key with ssh-add --apple-use-keychain and writes a small ~/.ssh/config so you never retype the passphrase.
- Add the public key to GitHub: Vovy opens GitHub Settings, SSH and GPG keys, clicks New SSH key, and pastes only the public half.
- Test the connection: Vovy runs ssh -T git@github.com and waits for "Hi username! You've successfully authenticated", then shows a card of what was set up.
What you provide
- A GitHub account (signed in)
- A passphrase for the key
What you get
- An ed25519 SSH key
- Passwordless git push and pull
- Key saved in macOS Keychain
- Connection tested and explained
FAQ
Why can't I use my GitHub password to push?
GitHub stopped accepting account passwords for Git operations in August 2021. You need an SSH key, a token, or the GitHub CLI.
Is it safe to paste the key into GitHub?
Only the file ending in .pub is shared. The private key stays on your Mac, and Vovy never displays it.
Do I need a new key on each computer?
Yes, that is best practice. If you lose a laptop you can delete just that key on GitHub.
Related tasks
All tasks