[Twisted-Python] Twisted sshd examples?

Paul Swartz z3p at twistedmatrix.com
Fri May 28 00:05:40 EDT 2004

On Thu, 2004-05-27 at 22:37, James R. Saker Jr. wrote:
> Anyone familiar with a good implementation of twisted's ssh server? I'm
> looking to interface a menu application with SSH and instead of setting
> the python app as the UNIX shell, I'd like twisted to handle sshd so my
> application can permit different user logins (vs. being bound to a
> particular user's shell via that approach).
> The Twisted example provided
> (http://www.twistedmatrix.com/documents/current/examples/sshsimpleserver.py) appears to fail and I wonder if its outdated as the current API doesn't reference realm under conch:

Yeah, that was a stupid bug.  The example in current SVN should work. 
You might also want to look at t.c.unix, which implements a bunch of the
stuff that you will want to implement for your application (namely, a
Session channel).

       Paul Swartz
(o_    http://z3p.livejournal.com/
//\    z3p at twistedmatrix.com
V_/_   AIM: z3penguin  GPG:5CF0B1C9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20040528/c424d010/attachment.pgp 

More information about the Twisted-Python mailing list