bzr+ssh on Windows?

Philippe Lhoste PhiLho at GMX.net
Mon Oct 18 12:51:04 BST 2010


On 18/10/2010 06:02, Eli Zaretskii wrote:
> It's a good guide.  I have this set up on several Windows machines
> using the PuTTY's pageant, and it works fine.  My only comment is that
> I don't understand why that page makes it sound as if the pageant
> method is somehow inferior to the Cygwin method, to be attempted only
> if the Cygwin method fails.  I think they are both equally good
> alternatives, with the former being more attractive for someone who
> already has Cygwin installed, while the latter is more attractive to
> those who don't (because a PuTTY installation is much more
> lightweight).

I agree, the "If you don't succeed with the above" part is a bit superfluous... A simple 
"Alternatively" or similar could be enough.
Somehow, the instructions at
https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
are more neutral.
I avoided to install Cygwin so far on my Windows machines and don't plan to do so... :-) 
(Too heavyweight for my taste, I prefer to have a simple set of UnxUtils exes on my path.)

Note: perhaps Bazaar instructions could link to LP ones, particularly for the "Registering 
the key with Launchpad" part (we can't edit the ~/.ssh/authorized_keys file there, can 
we?). Make sense since there aren't so much public Bazaar hosts around...

I also suggest to add a sentence stating that you can run pageant with the path to the PPK 
file(s) as parameter (I create a shortcut link for that): it avoids to open Pageant and 
navigate to the file each time. It is in the help file of PuTTY but worth mentioning in 
this page, I think.

Side note, sorry to hijack the thread - I have a new Win7 computer, in place of my dying 
WinXP one. I installed PuTTY and Bazaar 2.2.1. I run Pageant with my PPK file (I have the 
same at work, with Bazaar 2.2.0, without problem). When I try to do a simple pull, I get 
the "Permission denied (publickey)" error. I checked, the public key I have on LP is still 
the same.
The error is similar to the one reported at:
https://answers.launchpad.net/launchpad/+question/79261
I haven't tried yet the env. var. trick (will try tonight), but so far I didn't need it.
BZR_HOME is correctly set, and I have the same settings folder, with same 
authentication.conf and ssh_host_keys file.
I am a bit puzzled on this one...

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




More information about the bazaar mailing list