configurations of putty and pageant to work with bzr on Windows

Asked by blanderer

Hi @all,

is there any possibility to configure bzr on Windows XP and Vista to work with putty and pageant?
If there is so, please be so nice and give an step by step description how it will work.

regards

Karl

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
John A Meinel
Solved:
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

Is there a specific reason you need 'putty' or is it just pageant support you are looking for?
The simplest thing I can think of, is to just set "BZR_SSH=paramiko" in an environment variable. (As long as you have the paramiko python package installed, but it should come by default with the standalone windows installers, and should be easy to install separately if you are using the python installers)

paramiko is slightly better than putty's plink.exe because it can handle prompting the users on a terminal. (For some reason, plink doesn't know how to connect directly to the terminal to do password prompts.)
Both can communicate with Pageant to handle ssh keys.

If you must use plink, then you can simply put it into your PATH, and use "BZR_SSH=plink".

Revision history for this message
blanderer (karl-blanderer) said :
#2

>Both can communicate with Pageant to handle ssh keys

Is there any known problem or a specific environment variable to set paramiko working with pageant.

Revision history for this message
Best John A Meinel (jameinel) said :
#3

Paramiko should automatically talk with pageant. I'm using it at the moment without any problems or any special configuration.

(You still need to manually add your keys to pageant, etc, but that is how pageant works, not because of paramiko.)

Revision history for this message
blanderer (karl-blanderer) said :
#4

Tank you for your soonest response, this solve my problems