[ssh/sftp] failure to do password auth with paramiko when server only supports 'keyboard-interactive'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Andrew Bennetts | ||
2.0 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binding a branch to a remote branch over sftp:// or trying to push to the remote branch does not work with the Windows 2.0.0rc2 release. It worked with 1.17.1 before. Particularly, bzr tells:
(I obfuscated the paths D:\localpath and sftp://
D:\localpath>bzr push -v sftp://
Connected (version 1.99, client OpenSSH_4.2)
bzr: ERROR: Connection error: Unable to authenticate to SSH host as
user@host
supported auth types: ['publickey', 'keyboard-
Bazaar traceback from .bzr.log:
Mo 2009-09-21 09:38:52 +0200
0.141 bzr arguments: [u'push', u'-v', u'sftp://
0.156 looking for plugins in C:/Dokumente und Einstellungen/
0.156 looking for plugins in C:/programme/
0.312 encoding stdout as sys.stdout encoding 'cp850'
0.359 opening working tree 'D:/localpath'
2.062 bzr-svn: using Subversion 1.5.6 ()
2.078 falling back to default implementation
2.078 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Dokumente und Einstellungen\
[ 552] 2009-09-21 09:38:55.030 INFO: Connected (version 1.99, client OpenSSH_4.2)
2.578 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\push.pyo", line 83, in _show_push_branch
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
ConnectionError: Connection error: Unable to authenticate to SSH host as
user@host
supported auth types: ['publickey', 'keyboard-
2.578 return code 3
Bazaar version output:
D:\localpath>bzr version
Bazaar (bzr) 2.0.0rc2
Python interpreter: c:\programme\
Python standard library: c:\programme\
Platform: Windows-
bzrlib: c:\programme\
Bazaar configuration: C:\Dokumente und Einstellungen\
azaar\2.0
Bazaar log file: C:\Dokumente und Einstellungen\
Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
Bazaar info output on local branch:
D:\localpath>bzr info
Standalone tree (format: rich-root-pack)
Location:
branch root: .
Related branches
Changed in bzr: | |
milestone: | 2.0.1 → none |
Changed in bzr: | |
milestone: | none → 2.0.1 |
Changed in bzr: | |
milestone: | 2.0.1 → 2.1.0b1 |
Expected behaviour should have been to prompt for the authentication password. Then use the password to access the remote branch via sftp.