code: def __init__(self, ssh_key, control_path=None, **kwargs):
      self.ssh_key = ssh_key
      self.arg_dict = {
          # Supresses initial fingerprint verification.
          "StrictHostKeyChecking": "no",
          # SSH IP and fingerprint pairs no longer added to known_hosts.
          # This is to remove a "REMOTE HOST IDENTIFICATION HAS CHANGED"
          # warning if a new node has the same IP as a previously
          # deleted node, because the fingerprints will not match in
          # that case.
          "UserKnownHostsFile": os.devnull,
          # Try fewer extraneous key pairs.
          "IdentitiesOnly": "yes",
          # Abort if port forwarding fails (instead of just printing to
          # stderr).
          "ExitOnForwardFailure": "yes",
          # Quickly kill the connection if network connection breaks (as
          # opposed to hanging/blocking).
          "ServerAliveInterval": 5,
          "ServerAliveCountMax": 3,
      }
      if control_path:
          self.arg_dict.update(
              {
                  "ControlMaster": "auto",
                  "ControlPath": "{}/%C".format(control_path),
                  "ControlPersist": "10s",
              }
          )
      self.arg_dict.update(kwargs)
  
imports: import hashlib
  import json
  import logging
  import os
  import subprocess
  import sys
  import time
  from getpass import getuser
  from shlex import quote
  from typing import Dict, List
  import click
  from ray.autoscaler._private.cli_logger import cf, cli_logger
  from ray.autoscaler._private.constants import AUTOSCALER_NODE_SSH_INTERVAL_S, AUTOSCALER_NODE_START_WAIT_S, DEFAULT_OBJECT_STORE_MAX_MEMORY_BYTES, DEFAULT_OBJECT_STORE_MEMORY_PROPORTION
  from ray.autoscaler._private.docker import check_bind_mounts_cmd, check_docker_image, check_docker_running_cmd, docker_start_cmds, with_docker_exec
  from ray.autoscaler._private.log_timer import LogTimer
  from ray.autoscaler._private.subprocess_output_util import ProcessRunnerError, is_output_redirected, run_cmd_redirected
  from ray.autoscaler.command_runner import CommandRunnerInterface
label_desc: Use image node_id 1 to create a new SSHOptions object  with example: obj = SSHOptions(ssh_key, control_path)