@property
  def ssh_client(self):
    if self._ssh_client is None:
      self._ssh_client = self.ssh_cls()
      # Ignore host identify check
      self._ssh_client.set_missing_host_key_policy(self.check_key_policy)
      self._ssh_client.connect(hostname=self.host, port=self.port,
                               username=self.username, password=self.password,
                               key_filename=self.key_filename)
    return self._ssh_client
RESTful CRUD controller
dataset/ETHPy150Open ucb-sts/sts/sts/entities/base.py/SSHEntity.ssh_client--crossover with--dataset/ETHPy150Open sahana/eden/controllers/pr.py/image