← 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

  1. Generate key: ssh-keygen -t ed25519
  2. Add to GitHub: cat ~/.ssh/id_ed25519.pub
  3. Test: ssh -T git@github.com