[MERGE] Support for Putty SSH implementation

Robey Pointer robey at lag.net
Thu Jan 11 03:44:24 GMT 2007

On 10 Jan 2007, at 9:03, John Arbash Meinel wrote:

> Hash: SHA1
> Alexander Belchenko wrote:
>> Dmitry Vasiliev ?8H5B:
>>>> Alexander Belchenko wrote:
>>>>> Dmitry Vasiliev ?8H5B:
>>>>>> My code was based on SSHCorpSubprocessVendor and unfortunately  
>>>>>> there are
>>>>>> different semantics for '-s' option. I'll update the patch and  
>>>>>> add tests
>>>>>> for this case along with the fixes proposed by Andrew.
>>>>> No, this change does not helps. I have the same error anyway.
>>>> Hmm, strange... If 'plink -x -a -ssh -2 -l bialix -s  
>>>> aaronbentley.com
>>>> sftp' from the command line doesn't give you any errors then the  
>>>> problem
>>>> can belongs to the wrapping code which I didn't touch. Anyway  
>>>> I'll dig
>>>> into it in a few days.
>> I wonder why do not provide support of sftp via plink in the  
>> paramiko library
>> itself? IIRC, paramiko use OpenSSH when possible. So adding new  
>> SSH provider
>> to paramiko may be more consistent?
>> Robey, what you say about?
>> --
>> Alexander
> I don't think paramiko uses Openssh, bzr uses openssh and the passes
> that connection off to paramiko.
> Paramiko uses a "Transport" layer (which isn't a bzr Transport)
> which we hook into with SSHSubprocess.

Yeah, that's correct, paramiko doesn't tie into any other  
executables.  The idea was to be a pure-python implementation (except  
for pyCrypto, which I incorrectly assumed was on track to migrate  
into python's stdlib).

But I'm happy to support using only the sftp layer, like bazaar does  
if it finds an ssh executable.


More information about the bazaar mailing list