Git: Permission denied (publickey)
SSH key is not loaded into ssh-agent or not registered on the Git host.
Runs locally in browser
Free · No login
Available (Noindex) · 2026-11-24
v1.0.0
Identifier: Git: Permission denied (publickey)
Platform: Git
Interactive Diagnostic Checklist
Safe Diagnostic Command:
ssh -T git@github.com
Technical Explanation
SSH key is not loaded into ssh-agent or not registered on the Git host. Recommended verified resolution path: Verify SSH key registration and remote URL (`git remote -v`).
Worked Examples
- Read-only diagnostic command: ssh -T git@github.com
Limitations & Assumptions
- Error codes can arise from multiple layers (client, CDN, reverse proxy, application, or OS). Always confirm which layer emitted the error before applying changes.
Source References & Verification
- RFC 9110 — HTTP Semantics & Official Vendor Documentation
- Linux man-pages / Python / MDN / Docker Official Docs
Resource ID: err-git-permission-denied · Technical check: 2026-11-24 (noindex pending/withheld from search)