“Auth Failed” error with EGit and GitHub

My answer may be outdated but hopefully it can be useful for someone. In your Eclipse go to Window > Preferences > General > Network Connections > SSH2 (or just type “SSH2” in preferences window filter box). In “Key Management” tab press “Generate RSA Key…” button. Optionally you can add comment (usually e-mail address) and … Read more

Pushing from Eclipse to my GitHub repository via HTTPS stopped working: “git-receive-pack not permitted” error

Since August 13, 2021, GitHub does not support authentication via HTTPS with your GitHub account password for security reasons anymore. Instead, in Eclipse, when pushing to a GitHub repository or when fetching from a private repository, you will get a git-upload-pack not permitted on ‘https://github.com…’ error. As solution, use either a GitHub specific Personal access … Read more