Comment 10 for bug 433846

Revision history for this message
Bruce (bruce-sqls) wrote : Re: push/bind fails on sftp authentication issue

Thanks.. On Vista - It apparently goes into the Users Documents folder.

-------------------------

C:\wamp\www\test>set BZR_SSH=paramiko

C:\wamp\www\test>bzr push --create-prefix sftp://<email address hidden>/tmp/bzr
Connected (version 2.0, client OpenSSH_5.2)
bzr: ERROR: Connection error: Unable to authenticate to SSH host as
  <email address hidden>
supported auth types: ['publickey', 'keyboard-interactive']

----------------------

Mon 2009-09-28 10:09:00 -0500
0.066 bzr arguments: [u'push', u'--create-prefix', u'sftp://root@host/tmp/bzr']
0.072 looking for plugins in C:/Users/username/AppData/Roaming/bazaar/2.0/plugins
0.072 looking for plugins in C:/Program Files/Bazaar/plugins
0.224 encoding stdout as sys.stdout encoding 'cp437'
0.269 opening working tree 'C:/wamp/www/test'
1.061 bzr-svn: using Subversion 1.5.6 ()
1.133 failed to load system host keys: [Errno 2] No such file or directory: 'U:\\/.ssh/known_hosts'
[ 5668] 2009-09-28 10:09:02.160 INFO: Connected (version 2.0, client OpenSSH_5.2)
6.112 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 842, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1037, in run_bzr
  File "bzrlib\commands.pyo", line 654, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1156, in run
  File "bzrlib\push.pyo", line 83, in _show_push_branch
  File "bzrlib\bzrdir.pyo", line 874, in open_from_transport
  File "bzrlib\transport\__init__.pyo", line 1642, in do_catching_redirections
  File "bzrlib\bzrdir.pyo", line 861, in find_format
  File "bzrlib\bzrdir.pyo", line 1797, in find_format
  File "bzrlib\bzrdir.pyo", line 1807, in probe_transport
  File "bzrlib\transport\sftp.pyo", line 427, in get
  File "bzrlib\transport\sftp.pyo", line 399, in _get_sftp
  File "bzrlib\transport\sftp.pyo", line 391, in _create_connection
  File "bzrlib\transport\ssh.pyo", line 325, in connect_sftp
  File "bzrlib\transport\ssh.pyo", line 321, in _connect
  File "bzrlib\transport\ssh.pyo", line 510, in _paramiko_auth
ConnectionError: Connection error: Unable to authenticate to SSH host as
  root@host
supported auth types: ['publickey', 'keyboard-interactive']

6.113 return code 3

----------------------

Not sure how to tell if it's using putty or paramiko. I see it's having some issue with my known_host file..