Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configures GitHub authentication for git and gh CLI via gh login, SSH keys, or HTTPS personal access tokens.
Use this skill ↓91% 91%0 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 20 of 22 without it.
3 of 3 safety checks passed
Not used yet
Configure GitHub authentication for git and gh CLI operations using the GitHub CLI (gh), SSH keys, or HTTPS personal access tokens (PATs).
Permission denied (publickey) or Authentication failed errors# Interactive login — opens browser for OAuth
gh auth login
# Choose: GitHub.com → HTTPS → Authenticate with browser
# Or choose SSH if preferred
# Verify authentication
gh auth status
# Generate Ed25519 key (modern, secure)
ssh-keygen -t ed25519 -C "[email protected]" -f "$env:USERPROFILE\.ssh\github_ed25519"
# Start ssh-agent and add key
Start-Service ssh-agent
ssh-add "$env:USERPROFILE\.ssh\github_ed25519"
# Display public key to copy to GitHub
Get-Content "$env:USERPROFILE\.ssh\github_ed25519.pub"
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.