code: def ssh_cmd(
      host,
      cmd,
      user=None,
      private_key=None,
      connect_timeout=DEFAULT_CONNECT_TIMEOUT,
      port=None,
      proxy=None,
  ):
      cmd = _ssh_cmd(
          host, cmd, user, private_key, connect_timeout, port, proxy
      )
      log.debug("ssh cmd: %r", cmd)
      try:
          subprocess.check_call(cmd)
      except subprocess.CalledProcessError as e:
          raise remotelib.RemoteProcessError.for_called_process_error(e)
  
file_path: guildai/guild/remotes/ssh_util.py
imports: import logging
  import subprocess
  from guild import remote
label_desc: Use image node_id 3 for calling a global function with example usage: ssh_cmd(host, cmd, user, private_key, connect_timeout, port, proxy) without return types