code: def execute(self, command, term='xterm'):
          
          transport = self._ssh.get_transport()
          channel = transport.open_session()
          channel.get_pty(term)
          channel.exec_command(command)
          self._bridge(channel)
          channel.close()
docs: Execute a command on the remote server
  
          This method will forward traffic from the websocket to the SSH server
          and the other way around.
  
          You must connect to a SSH server using ssh_connect()
          prior to starting the session.