SSH offers only the keys it finds
SSH tries default key names such as id_ed25519, keys loaded in ssh-agent, and keys named by IdentityFile. A key called anything else, such as github_work, is never offered, even if GitHub has it.
SSH only offers keys it can find. Run ssh -vT git@github.com to see which keys it tried, then point it at yours with IdentityFile in ~/.ssh/config.
Your goal: push Maya’s branch from her new laptop. Her key is already on GitHub. In Terminal, run git push.
Choose a command below to run it.Run
TAKE IT INTO THE REAL WORLD
The ideas behind this lesson, with the official documentation to read next.
SSH tries default key names such as id_ed25519, keys loaded in ssh-agent, and keys named by IdentityFile. A key called anything else, such as github_work, is never offered, even if GitHub has it.
ssh -vT git@github.com lists every key SSH tried or offered. type -1 and no such identity mean the file doesn’t exist. Read this before generating a new key.
Add Host github.com and IdentityFile ~/.ssh/<key> to ~/.ssh/config. Then ssh -T git@github.com names the account the key logs you in as.
KEEP PRACTISING
Version Control
Compare both branch changes with their shared base, create the result the code needs, then run checks. Don't choose a side by label alone.
Containers & Docker
Your app container restarts with ECONNREFUSED 127.0.0.1:5432 while Postgres runs. Inside a container, localhost is that container: connect to the db service on 5432.
Deployment & CI/CD
Next.js only sends variables named NEXT_PUBLIC_ to the browser, and writes them in at build time. Rename the variable in Vercel and in the code, then rebuild.