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
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