Python Forum

Full Version: Paramiko/ SSHTunnelForwarder with OTP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am using both paramiko and SSHTunnelForwarder with private key to ssh login and setup port forwarding successfully. Now we have setup our ssh server with google-authenticator for 2fa authentication. After searching for a quite long time, not able to find a way to pass otp in both of these cases. Please suggest if anyone have used 2fa ssh login with paramiko or some other way.

Regards,

Sandip