[Twisted-Python] ssh v1 support
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
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
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
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
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
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
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
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
-- 01100011 01100001 01110010 01111001
participants (2)
-
Cary Hull
-
Deniz Pecel