Wie man Ansible für die Verwendung von TPM-basierten SSH-Schlüsseln über PKCS11Provider konfiguriert
Um TPM-basierte SSH-Schlüssel in Ansible zu verwenden, müssen Sie ansible_ssh_common_args in host_vars oder group_vars konfigurieren, um auf die PKCS11-Provider-Bibliothek zu verweisen.
ansible-ssh-pkcs11.yml
ansible_user: myuser
ansible_ssh_common_args: '-o PKCS11Provider=/usr/lib/x86_64-linux-gnu/pkcs11/libtpm2_pkcs11.so -o PasswordAuthentication=no'Check out similar posts by category:
Ansible, Cryptography, Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow