Commit 7a247168 authored by ibuler's avatar ibuler

[Update] 修复xshell x11的问题

parent d99d149b
...@@ -101,7 +101,7 @@ class SSHServer: ...@@ -101,7 +101,7 @@ class SSHServer:
def dispatch(self, client): def dispatch(self, client):
request_type = client.request.type 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") logger.info("Request type `pty`, dispatch to interactive mode")
InteractiveServer(self.app, client).interact() InteractiveServer(self.app, client).interact()
elif 'subsystem' in request_type: 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