[Twisted-Python] ssh v1 support
![](https://secure.gravatar.com/avatar/841ec599723ae1bcb61b5db148c58cf8.jpg?s=120&d=mm&r=g)
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@gmail.com> wrote:
-- 01100011 01100001 01110010 01111001
![](https://secure.gravatar.com/avatar/841ec599723ae1bcb61b5db148c58cf8.jpg?s=120&d=mm&r=g)
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@gmail.com> wrote:
-- 01100011 01100001 01110010 01111001
![](https://secure.gravatar.com/avatar/841ec599723ae1bcb61b5db148c58cf8.jpg?s=120&d=mm&r=g)
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@gmail.com> wrote:
-- 01100011 01100001 01110010 01111001
![](https://secure.gravatar.com/avatar/841ec599723ae1bcb61b5db148c58cf8.jpg?s=120&d=mm&r=g)
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@gmail.com> wrote:
-- 01100011 01100001 01110010 01111001
participants (2)
-
Cary Hull
-
Deniz Pecel