Received disconnect from ...: 2: Too many authentication failures for ubuntu

Bug #1456315 reported by Eric Snow
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Medium
Eric Snow
1.23
Fix Released
Medium
Eric Snow
1.24
Fix Released
High
Unassigned

Bug Description

Trying to bootstrap on AWS, I ran into the following (after adding some logging):

Waiting for address
Attempting to connect to 172.31.4.197:22
Attempting to connect to 54.84.161.203:22
ssh: connect to host 54.84.161.203 port 22: Connection refused
ssh: connect to host 54.84.161.203 port 22: Connection refused
ssh: connect to host 54.84.161.203 port 22: Connection refused
ssh: connect to host 54.84.161.203 port 22: Connection refused
Warning: Permanently added '54.84.161.203' (ECDSA) to the list of known hosts.
Received disconnect from 54.84.161.203: 2: Too many authentication failures for ubuntu
Received disconnect from 54.84.161.203: 2: Too many authentication failures for ubuntu
Received disconnect from 54.84.161.203: 2: Too many authentication failures for ubuntu
...

I happen to have several identity files loaded and presumably bootstrap tries to authenticate using them before trying the Juju client SSH key. Apparently that is too many keys, thus the error.

Bootstrap should be using the "-o 'IdentitiesOnly yes'" option at the commandline.

Revision history for this message
Eric Snow (ericsnowcurrently) wrote :
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Eric Snow (ericsnowcurrently)
milestone: none → 1.25.0
milestone: 1.25.0 → none
status: Triaged → In Progress
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.25.0
status: Fix Committed → Fix Released
Revision history for this message
Katherine Cox-Buday (cox-katherine-e) wrote :

This change caused regressions (bug 1472632) and was backed out. We'll have to work on making sure we fix this without causing any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.