Commit 7a247168 authored by ibuler's avatar ibuler

[Update] 修复xshell x11的问题

parent d99d149b
......@@ -101,7 +101,7 @@ class SSHServer:
def dispatch(self, client):
request_type = client.request.type
if 'pty' in request_type:
if 'pty' in request_type or 'x11' in request_type:
logger.info("Request type `pty`, dispatch to interactive mode")
InteractiveServer(self.app, client).interact()
elif 'subsystem' in request_type:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment