code: def show_ssh_cmd_legacy(args: argparse.Namespace) -> None:
      cli.warn(
          "DEPRECATION WARNING: show_ssh_command is being deprecated in favor"
          "of show-ssh-command"
      )
      show_ssh_command(args)
  
imports: import argparse
  import contextlib
  import getpass
  import os
  import platform
  import shutil
  import subprocess
  import sys
  import tempfile
  from functools import partial
  from pathlib import Path
  from typing import IO, Any, ContextManager, Dict, Iterator, List, Tuple, Union, cast
  import appdirs
  from termcolor import colored
  from determined import cli
  from determined.cli import ntsc, render, task
  from determined.common import api
  from determined.common.api import authentication, bindings, certs
  from determined.common.declarative_argparse import Arg, ArgsDescription, Cmd, Group
label_desc: Use image node_id 4 for calling a global function with example usage: show_ssh_cmd_legacy(args) without return types