ansible / proposals

Repository for sharing and tracking progress on enhancement proposals for Ansible.
Creative Commons Zero v1.0 Universal
92 stars 19 forks source link

Support SSH two factor authentication #190

Closed djkerya closed 3 years ago

djkerya commented 3 years ago

Proposal: Support SSH two factor authentication

Author: Kirill @djkerya

Date: 2021-03-24

Motivation

To make possible use connections with 2fa

Problems

ansible-playbook is stuck at ssh initialization when the server asks for the code.

Solution proposal

ansible-playbook should ask the code of the two-factor-authentication as it does with the -k parameter for password authentication.

https://github.com/ansible/ansible/issues/10065

bcoca commented 3 years ago

This request as been made many times bu there is still no way around the main issues:

Since this is not really proposing a 'solution' but that a 'solution be given' I'm going to close this proposal.