bzr+ssh on Windows?

Philippe Lhoste PhiLho at GMX.net
Mon Oct 18 22:47:54 BST 2010


On 18/10/2010 15:27, Alexander Belchenko wrote:
> Can you show the relevant part of .bzr.log. It should contain
> information on the SSH client used (paramiko or plink.exe? or maybe
> ssh.exe?)

 > bzr pull
Using saved parent location: 
bzr+ssh://bazaar.launchpad.net/~philho/%2Bjunk/Scala/
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check 
connectivity and permissions, and report a bug if problems persist.


Mon 2010-10-18 23:38:03 +0200
0.320  bazaar version: 2.2.1
0.330  bzr arguments: [u'pull']
0.360  looking for plugins in H:/Settings/bazaar/2.0/plugins
0.600  looking for plugins in C:/PrgCmdLine/Bazaar/plugins
0.620  Plugin name fastimport already loaded
0.640  Plugin name xmloutput already loaded
1.230  encoding stdout as sys.stdout encoding 'cp850'
1.620  opening working tree 'H:/PhiLhoSoft/Scala'
1.870  bzr-svn: using Subversion 1.6.6 ()
3.570  ssh implementation is OpenSSH
8.950  Traceback (most recent call last):
   File "bzrlib\commands.pyo", line 912, in exception_to_return_code
   File "bzrlib\commands.pyo", line 1112, in run_bzr
   File "bzrlib\commands.pyo", line 690, in run_argv_aliases
   File "bzrlib\commands.pyo", line 705, in run
   File "bzrlib\cleanup.pyo", line 135, in run_simple
   File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
   File "bzrlib\builtins.pyo", line 1024, in run
   File "bzrlib\branch.pyo", line 167, in open
   File "bzrlib\bzrdir.pyo", line 911, in open
   File "bzrlib\bzrdir.pyo", line 946, in open_from_transport
   File "bzrlib\bzrdir.pyo", line 2216, in open
   File "bzrlib\bzrdir.pyo", line 3468, in _open
   File "bzrlib\remote.pyo", line 118, in __init__
   File "bzrlib\remote.pyo", line 130, in _probe_bzrdir
   File "bzrlib\remote.pyo", line 137, in _rpc_open_2_1
   File "bzrlib\remote.pyo", line 55, in _call
   File "bzrlib\smart\client.pyo", line 132, in call
   File "bzrlib\smart\client.pyo", line 145, in call_expecting_body
   File "bzrlib\smart\client.pyo", line 93, in _call_and_read_response
   File "bzrlib\smart\message.pyo", line 299, in read_response_tuple
   File "bzrlib\smart\message.pyo", line 264, in _wait_for_response_args
   File "bzrlib\smart\message.pyo", line 286, in _read_more
ConnectionReset: Connection closed: Unexpected end of message. Please 
check connectivity and permissions, and report a bug if problems persist.

> My best guess plink.exe used instead of paramiko, so env var
> BZR_SSH=paramiko will cure this problem.

Bingo! Thanks...

 > set BZR_SSH=paramiko

 > bzr pull
Using saved parent location: 
bzr+ssh://bazaar.launchpad.net/~philho/%2Bjunk/Scala/
Connected (version 2.0, client Twisted)
Authentication (publickey) successful!
Secsh channel 1 opened.
+N  3rdParty/BorderLayoutTest.scala
[...]
All changes applied successfully.
Now on revision 23.



At least, it is worth mentioning the issue in the thread, for those 
making searches... :-)

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --




More information about the bazaar mailing list