docstr: Loads ssh configurations from file.
docstr_tok: ["Loads","ssh","configurations","from","file","."]
code: def load_node_mapping(
      key="node_mapping", auppath=DEFAULT_AUPTIMIZER_PATH
  ):
      """
      Loads ssh configurations from file.
      """
      config = load_default_env(auppath=auppath)
      check_missing_key(
          config,
          key,
          "Missing %s parameter in aup config" % key,
          log=logger,
      )
      d = json.loads(config[key])
      logger.debug("Load resources %s", json.dumps(d))
      return {int(i): d[i] for i in d}
  
imports: import json
  import logging
  import os
  import sys
  import time
  import threading
  import paramiko
  from .CPUResourceManager import CPUResourceManager
  from ...utils import check_missing_key, load_default_env, parse_result, DEFAULT_AUPTIMIZER_PATH, block_until_ready
  from ...utils import open_sftp_with_timeout, parse_one_line
  from ..Job import Job
label_desc: Use image node_id 2 for calling the SSHResourceManager obj's underlying member method code with example usage: obj.load_node_mapping(key, auppath) and returns: unknown