'Prepare for Paramiko SSH connection.'

def _build_ssh_client(self):

    remote_conn_pre = paramiko.SSHClient()
    if self.system_host_keys:
        remote_conn_pre.load_system_host_keys()
    if (self.alt_host_keys and path.isfile(self.alt_key_file)):
        remote_conn_pre.load_host_keys(self.alt_key_file)
    remote_conn_pre.set_missing_host_key_policy(self.key_policy)
    return remote_conn_pre
