code: def __init__(self, name: str, configs: Dict[str, any]):
      self.name = name
      self.hostname = configs.pop("hostname")
      self.username = configs.pop("username", "ubuntu")
      self.password = configs.pop("password", None)
      self.private_key_file = configs.pop("private_key", None)
      if self.private_key_file is not None:
          os.chmod(
              str(self.private_key_file), stat.S_IRUSR | stat.S_IWUSR
          )
          self.private_key = paramiko.RSAKey.from_private_key_file(
              self.private_key_file
          )
      else:
          self.private_key = None
  
      self.properties = configs
  
file_path: labml/remote/labml_remote/configs/__init__.py
imports: import os
  import stat
  from pathlib import Path
  from typing import Optional, Dict, Any, Union
  import paramiko
  import yaml
label_desc: Use image node_id 1 to create a new ServerConfig object  with example: obj = ServerConfig(name, configs)