Discussion:
[savannah-help-public] [sr #109407] ssh fails: Too many authentication failures
Joerg Wunsch
2017-11-02 22:32:55 UTC
Permalink
URL:
<http://savannah.gnu.org/support/?109407>

Summary: ssh fails: Too many authentication failures
Project: Savannah Administration
Submitted by: joerg_wunsch
Submitted on: Thu 02 Nov 2017 11:32:53 PM CET
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
Status: None
Assigned to: None
Originator Email:
Operating System: None
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

Lately, my ssh access does not work anymore:


% svn up
Updating '.':
Received disconnect from 208.118.235.201: 2: Too many authentication failures
for joerg_wunsch
svn: E170013: Unable to connect to a repository at URL
'svn+ssh://***@svn.savannah.nongnu.org/avr-libc/trunk/avr-libc'
svn: E210002: To better debug SSH connection problems, remove the -q option
from 'ssh' in the [tunnels] section of your Subversion configuration file.
svn: E210002: Network connection closed unexpectedly


Other ssh accesses (download area) fail with the same message.

I tried generating and uploading a new key, to no avail.




_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109407>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bob Proulx
2017-11-03 05:08:55 UTC
Permalink
Follow-up Comment #1, sr #109407 (project administration):

Hello Joerg. When ssh reports too many authentication failures it means that
your client is providing too many failing keys. This means that you probably
have many keys loaded into your ssh-agent. You can see this with 'ssh-add -l'
or 'ssh-add -L'. And with 'ssh -v' it should show these repeated key offers.

You can debug using ssh directly. That will be blocked by the security that
says only vcs commands. That's okay. But the handshake debug is useful.

ssh -v svn.savannah.gnu.org true

At that point there are various things you can do to make this work.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109407>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Joerg Wunsch
2017-11-03 07:27:41 UTC
Permalink
Follow-up Comment #2, sr #109407 (project administration):

Thanks for the explanation, Bob.

I could swear this used to work in the past. Maybe I really added more keys to
my agent in the meantime.

Got it working again now, so the ticket can be closed.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109407>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Bob Proulx
2017-11-03 18:52:40 UTC
Permalink
Update of sr #109407 (project administration):

Assigned to: None => rwp
Open/Closed: Open => Closed

_______________________________________________________

Follow-up Comment #3:

Glad to hear you have it working now. It could also be ordering too. It
could have been working with a different ordering of keys and now with the
different ordering it doesn't. Oh well. All is well that ends well. Happy
to have helped debug it.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/support/?109407>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...