← All Kali Issues
Git
Permission denied publickey
A Authentication
High
🔴 Error Message
Permission denied (publickey) to GitHub
📖 What This Means
SSH key not configured for remote.
🔧 Step-by-Step Fix
- Generate key: ssh-keygen -t ed25519
- Add to GitHub: cat ~/.ssh/id_ed25519.pub
- Test: ssh -T git@github.com