pull/123/head
liuzheng712 2016-03-04 20:42:08 +08:00
parent 8e30ffb840
commit 95a7557acf
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
if not self.term.remote_ip:
self.term.remote_ip = self.request.remote_ip
self.ssh = self.term.get_connection()
self.channel = self.ssh.invoke_shell(term='vt100')
self.channel = self.ssh.invoke_shell()
WebTerminalHandler.tasks.append(MyThread(target=self.forward_outbound))
WebTerminalHandler.clients.append(self)