Python Forum
Paramiko/ SSHTunnelForwarder with OTP - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Paramiko/ SSHTunnelForwarder with OTP (/thread-31002.html)



Paramiko/ SSHTunnelForwarder with OTP - sandiphw - Nov-17-2020

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