how-to? BZR on windows with Putty SSH

Matthew Hannigan mlh at zip.com.au
Wed Mar 22 22:37:51 GMT 2006


On Wed, Mar 22, 2006 at 07:40:40PM +0000, James Henstridge wrote:
> 
> I don't think there is anything to use PuTTY as an SSH transport out
> of the box.  It shouldn't be too difficult though:
> 
>  1. make sure you have paramiko installed.  Even when using an
> external SSH transport, bzr uses paramiko's SFTP implementation.
> 
>  2. modify bzrlib/transport/sftp.py to support plink.exe.  In particular:
>      * _get_ssh_vendor() to detect if plink.exe is available
>      * in SFTPSubprocess.__init__(), if the ssh vendor was detected as
> plink, call plink.exe with the appropriate arguments.
> 
> If you get it working, I'm sure the patch will be gladly accepted. 
> Ideally it would just work out of the box.

For extra points, figure out whether tortoiseplink is installed 
and use it. (It doesn't pop up a dos window when running)








More information about the bazaar mailing list