[Twisted-Python] ssh v1 support

Cary Hull cary.hull at gmail.com
Sat Jan 3 11:31:52 EST 2009


I suppose it depends on what you mean by support. Libraries like
paramiko and conch provide an actual protocol implementation in
Python, which means you can do some interesting things with channels.
Otherwise it seems you're stuck with an expect like model for driving
the ssh1 binary. Pexpect provides some built in support for driving
ssh this way:
http://pexpect.sourceforge.net/pxssh.html

On Fri, Jan 2, 2009 at 7:20 AM, Deniz Pecel <apenon at gmail.com> wrote:
> Thanks Cary. Are there any available easy to use library other than twisted
> that supports ssh v1?
> Deniz
>
> On Fri, Dec 26, 2008 at 4:17 PM, Cary Hull <cary.hull at gmail.com> wrote:
>>
>> Not out of the box. Conch is ssh2 only. However, you can attain ssh1
>> support by wrapping the binary (ssh) with a ProcessProtocol:
>>
>> http://twistedmatrix.com/projects/core/documentation/howto/process.html
>>
>> Before you start on your own implementation I would wait to see if
>> anyone has done this already and wouldn't mind sharing. :)
>>
>> -Cary
>>
>> On Fri, Dec 26, 2008 at 7:47 AM, Deniz Pecel <apenon at gmail.com> wrote:
>> > Hi List
>> > Does twisted support ssh v1?
>> > thanks
>> >
>> > _______________________________________________
>> > Twisted-Python mailing list
>> > Twisted-Python at twistedmatrix.com
>> > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>> >
>> >
>>
>>
>>
>> --
>> 01100011 01100001 01110010 01111001
>>
>> _______________________________________________
>> Twisted-Python mailing list
>> Twisted-Python at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>



-- 
01100011 01100001 01110010 01111001




More information about the Twisted-Python mailing list