code: def run_remote_shell(node: Dict, cmd: str) -> Optional[str]:
      try:
          ip = node["ip"]
          ssh_cmd = f"ssh -o LogLevel=ERROR -o StrictHostKeyChecking=no -i {KEY} azureuser@{ip}"
          shell_cmd = f'{ssh_cmd} "{cmd}"'
          print("Running:", shell_cmd)
          return shell(shell_cmd)
      except Exception:
          print("Failed to run ssh command: {}")
      return None
  
imports: import json
  import os
  import subprocess
  from typing import Any
  from typing import Dict
  from typing import Optional
  from typing import Tuple
  import git
  import requests
label_desc: Use image node_id 8 for calling a global function with example usage: run_remote_shell(node, cmd) and returns: None, shell