From aad7b859f194451a0529c4d8aa20cdc724ae33a2 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Mon, 10 Nov 2003 04:54:02 +0000 Subject: [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. --- NOTES | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NOTES') diff --git a/NOTES b/NOTES index e722b140..de3d2fc9 100644 --- a/NOTES +++ b/NOTES @@ -58,6 +58,9 @@ from Channel: exec_command invoke_subsystem resize_pty + [server:] + check_pty_request + check_shell_request from ChannelFile: next -- cgit v1.2.1