code: def _setup_ssh(self):
          
          global paramiko
          if paramiko is none:
              import paramiko
  
          self.ssh = paramiko.SSHClient()
          self.ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
          self.ssh.connect(self.server, username=self.user, pkey=self.pkey)
docs: Initializes the connection to the server via SSH.