class_docstr: Contains all necessary SSH configs, grouped by config name.
class_docstr_tok: ["Contains","all","necessary","SSH","configs",",","grouped","by","config","name","."]
code: def _gen_rsa_pkey(key_file_path: str):
      if not key_file_path:
          return None
      return paramiko.RSAKey.from_private_key_file(
          os.path.expanduser(os.path.abspath(key_file_path))
      )
  
imports: import os
  import re
  from enum import Enum
  from typing import NamedTuple, Optional, Dict
  import yaml
  import paramiko
  from autodist.utils import logging
  from autodist.utils.network import is_loopback_address, is_local_address
label_desc: Use image node_id 2 for calling the SSHConfigMap obj's underlying member method code with example usage: obj._gen_rsa_pkey(key_file_path) and returns: paramiko, None