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:
Hi List Does twisted support ssh v1? thanks
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
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@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@gmail.com wrote:
Hi List Does twisted support ssh v1? thanks
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-- 01100011 01100001 01110010 01111001
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
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:
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@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@gmail.com wrote:
Hi List Does twisted support ssh v1? thanks
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-- 01100011 01100001 01110010 01111001
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python