diff options
author | Robey Pointer <robey@lag.net> | 2003-11-10 04:54:02 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2003-11-10 04:54:02 +0000 |
commit | aad7b859f194451a0529c4d8aa20cdc724ae33a2 (patch) | |
tree | 24b19c05626e547f3f3bc4a12c7a8c64578dbed5 /secsh.py | |
parent | 0e1ef2c65c80bd76eb62f5dfd953cb987d36ce3a (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-7]
cleaned up server code, renamed some files & classes
renamed demo-server.py and demo-host-key to demo_server.py and
demo_host_key, just to be consistent.
renamed SSHException -> SecshException.
generalized the mechanism where Channel decides whether to allow
different channel requests: 4 of the main ones (pty, window-change,
shell, and subsystem) go through easily override-able methods now.
you could probably make an actual ssh shell server.
gave ChannelFile a repr().
turned off ultra debugging in the demos. demo_server creates a
subclass of Channel to allow pty/shell and sets an event when the
shell request is made, so that it knows when it can start sending
the fake bbs.
renamed to charmander and updated some of the distutils files.
Diffstat (limited to 'secsh.py')
-rw-r--r-- | secsh.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -5,8 +5,7 @@ import sys if (sys.version_info[0] < 2) or ((sys.version_info[0] == 2) and (sys.version_info[1] < 3)): raise RuntimeError('You need python 2.3 for this module.') -# FIXME rename -class SSHException(Exception): +class SecshException(Exception): pass @@ -17,7 +16,7 @@ from dsskey import DSSKey __author__ = "Robey Pointer <robey@lag.net>" -__date__ = "18 Sep 2003" -__version__ = "0.1-bulbasaur" +__date__ = "9 Nov 2003" +__version__ = "0.1-charmander" __credits__ = "Huzzah!" |