bzr paramiko ssh client asks for password even when the server doesn't accept passwords
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
John A Meinel | ||
Twisted |
Invalid
|
Undecided
|
Unassigned | ||
paramiko |
Fix Released
|
Low
|
Robey Pointer |
Bug Description
In bug 332019:
---
> bzr checkout lp:update-manager
Connected (version 2.0, client Twisted)
SSH <email address hidden> password:
Authentication type (password) not permitted.
bzr: ERROR: Connection error: Unable to authenticate to SSH host as <email address hidden> Bad authentication type (allowed_
The most confusing part is that is asks for a password even knowing that
launchpad.net policy requires public key, even when there is no any
public keys (with or without password) around.
---
Running 'ssh -v' shows that Launchpad advertises that it only accepts pubkey authentication. In this case openssh doesn't both asking for a password, but the twisted client in bzr apparently does. I don't know if that's a bug in twisted, or in the way bzr uses it.
Related branches
- Robert Collins (community): Approve
- Diff: 81 lines
summary: |
- bzr twisted ssh client asks for password even when the server doesn't - accept passwords + bzr ssh client asks for password even when the server doesn't accept + passwords |
summary: |
- bzr ssh client asks for password even when the server doesn't accept - passwords + bzr paramiko ssh client asks for password even when the server doesn't + accept passwords |
Changed in paramiko: | |
status: | Fix Committed → Fix Released |
Changed in bzr: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → John A Meinel (jameinel) |
milestone: | none → 1.18 |
I don't know if this is really in Twisted and I haven't reported it upstream yet.