Cant push changes to gerrit via ssh: "Too many authentication failures"
Cant push to gerrit:
git push logerrit HEAD:refs/for/master Enter passphrase for key '/home/bjoern/.ssh/id_tdfgerrit2017': Received disconnect from 184.108.40.206 port 29418:2: Too many authentication failures Connection to gerrit.libreoffice.org closed by remote host. fatal: Could not read from remote repository.
This was with my old key, so I generated a new key as per https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/ ... which yields the above too.
Attaching output of "ssh -vvvv logerrit".
#2 Updated by Guilhem Moulin 9 months ago
I'm in a hurry so time for proper debugging at the moment, but there are these in the logs
[2017-03-17 16:22:02,917 +0000] fbd58cd6 Sweetshark - AUTH FAILURE FROM xxx.xxx.xxx.xxx no-matching-key
[2017-03-17 16:22:22,556 +0000] 5bddb8fc Sweetshark - AUTH FAILURE FROM xxx.xxx.xxx.xxx no-matching-key
(time is UTC).
#3 Updated by Bjoern Michaelsen 9 months ago
- Status changed from New to Resolved
Eh, had too many keys on that machine. Solved it with:
in my .ssh/config (via https://superuser.com/questions/187779/too-many-authentication-failures-for-username)
Curious how ssh lets you authenticate, and then tells you "nah, you wont get in, that was too many keys" afterwards.