dmusican / Elegit

A GUI client for people who want to learn Git.
MIT License
30 stars 7 forks source link

Fix unclear error messages when ssh authentication fails on push #581

Open dmusican opened 6 years ago

dmusican commented 6 years ago

Here's the specific scenario (thanks to @mgorra):

  1. Make sure your GitHub ssh authentication isn't set up right, i.e.., you don't have your public keys set up, i.e., the ssh -T test fails.

  2. Clone a public repo from GitHub.

  3. Make some changes, commit, and push. Even if you have push access on GitHub, this will fail because of the bad ssh authentication, but Elegit's error messages don't help you figure that out.