diff options
author | Robey Pointer <robey@lag.net> | 2007-02-12 10:29:55 -0800 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2007-02-12 10:29:55 -0800 |
commit | ab2e5a710e18f6de3033b82f437840529db862ca (patch) | |
tree | 3075ed3c9c61f1d365d5a7b827ec61572b6030ac | |
parent | 44af09309094a5347fbba1f3265d03550e885d16 (diff) |
[project @ robey@lag.net-20070212182955-eaqi0dhzk0p8tw02]
slightly improve docs; mention check_channel_x11_request
-rw-r--r-- | paramiko/server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/paramiko/server.py b/paramiko/server.py index 1d150453..00d0c64a 100644 --- a/paramiko/server.py +++ b/paramiko/server.py @@ -92,6 +92,7 @@ class ServerInterface (object): - L{check_channel_shell_request} - L{check_channel_subsystem_request} - L{check_channel_window_change_request} + - L{check_channel_x11_request} The C{chanid} parameter is a small number that uniquely identifies the channel within a L{Transport}. A L{Channel} object is not created @@ -281,7 +282,8 @@ class ServerInterface (object): connections to the given address and port be forwarded back across this ssh connection. An address of C{"0.0.0.0"} indicates a global address (any address associated with this server) and a port of C{0} - indicates any port. + indicates that no specific port is requested (usually the OS will pick + a port). The default implementation always returns C{False}, rejecting the port forwarding request. If the request is accepted, you should return |