code: def execute_command(self, command):
          
  
          self.info_log("executing command: %s" % command)
  
          try:
              ssh = paramiko.SSHClient()
              ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  
              k = paramiko.RSAKey.from_private_key_file(
                  self.browser_config.get('ssh_key_path')
              )
              ssh.connect(
                  self.private_ip,
                  username=self.browser_config.get('username'),
                  pkey=k
              )
  
              sleep_time = 0.1
              stdout = []
              stderr = []
  
              ssh_transport = ssh.get_transport()
              channel = ssh_transport.open_session()
              channel.setblocking(0)
              channel.exec_command(command)
  
              while True:
  
                  while channel.recv_ready():
                      stdout.append(channel.recv(1000))
  
                  while channel.recv_stderr_ready():
                      stderr.append(channel.recv_stderr(1000))
  
                  if channel.exit_status_ready():
                      break
  
                  sleep(sleep_time)
  
              # ret = channel.recv_exit_status()
              ssh_transport.close()
  
              ssh.close()
  
              return b''.join(stdout), b''.join(stderr)
  
          except Exception as e:
              msg = "Execute_command exception: %s" % str(e)
              self.error_log(msg)
              raise Exception(msg)
docs: Execute a command on the node
  
          Args:
              command (str)