mirror of https://github.com/jumpserver/jumpserver
fix(run_server.py): test if it invoke_shell bug
parent
20b5facc38
commit
8e30ffb840
|
@ -338,7 +338,7 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
|
||||||
if not self.term.remote_ip:
|
if not self.term.remote_ip:
|
||||||
self.term.remote_ip = self.request.remote_ip
|
self.term.remote_ip = self.request.remote_ip
|
||||||
self.ssh = self.term.get_connection()
|
self.ssh = self.term.get_connection()
|
||||||
self.channel = self.ssh.invoke_shell(term='xterm')
|
self.channel = self.ssh.invoke_shell(term='vt100')
|
||||||
WebTerminalHandler.tasks.append(MyThread(target=self.forward_outbound))
|
WebTerminalHandler.tasks.append(MyThread(target=self.forward_outbound))
|
||||||
WebTerminalHandler.clients.append(self)
|
WebTerminalHandler.clients.append(self)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue