Python Paramiko (Client) Multifactor Authentication
问题 I'm attempting to use Paramiko (on Python 2.7) to connect to a host that uses multifactor authentication (username + password + one-time-password). The transport.auth_interactive function seems to be the way to do this (based on what I'm understanding from the documentation), but execution never reaches that point - the authentication fails on the client.connect line. I seem to be missing something. This is the code: #!/usr/bin/env python import paramiko import getpass import os import