[Twisted-Python] Twisted sshd examples?

James R. Saker Jr. jsaker at americanrelay.com
Thu May 27 22:37:58 EDT 2004

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:

from twisted.conch import error, realm

Traceback (most recent call last):
  File "sshd.py", line 3, in ?
    from twisted.conch import error, realm
ImportError: cannot import name realm



More information about the Twisted-Python mailing list