【发布时间】:2022-06-18 01:15:32
【问题描述】:
这是与远程 Linux 服务器的交互:
Using username "XXXXXX".
Keyboard-interactive authentication prompts from server:
| Password: xxxxxxxxx
| * Two Factor Auth *
| [Available mechanisms]
| 1 - Email... @company.com
| 2 - Security Question
| Please select a mechanism [1]: 2
| Answer security question 'my village of birth': xxxxxxx
End of keyboard-interactive prompts from server
Last login: Wed May 25 13:43:04 2022 from 10.xxx.xx.xx
谁能指导我如何使用 Paramiko 使用实际的 code-sn-ps 处理这个问题?
【问题讨论】:
标签: python ssh paramiko multi-factor-authentication