code: def _ssh_opts(private_key, verbose, connect_timeout, port, proxy):
      opts = ["-oStrictHostKeyChecking=no"]
      if private_key:
          opts.extend(["-i", private_key])
      if verbose:
          opts.append("-vvv")
      if connect_timeout:
          opts.append(f"-oConnectTimeout={connect_timeout}")
      if port:
          opts.extend(["-p", str(port)])
      if proxy:
          opts.append(f"-oProxyCommand={proxy}")
      return opts
  
file_path: guildai/guild/remotes/ssh_util.py
imports: import logging
  import subprocess
  from guild import remote
label_desc: Use image node_id 6 for calling a global function with example usage: _ssh_opts(private_key, verbose, connect_timeout, port, proxy) and returns: opts