DigiNews

Tech Watch by Johan Denoyer

← Back to articles

GitHub suddenly rejected my SSH key (the fix was a .pub file?!)

Quality: 7/10 Relevance: 9/10

Summary

The article documents a GitHub SSH authentication issue caused by a missing public key file (.pub). It shows the fix: generate the .pub from the private key and explains how OpenSSH's authentication flow differs with or without a public key, and why GitHub's server may reject direct-signed requests. Practical steps and an updated timestamp alert readers to ensure their keys have corresponding .pub files.

🚀 Service construit par Johan Denoyer