Skip to content

2 factor authentication #2140

Open
Open

Description

@sdsiddhartha26

Hi,
Thank you for the awesome parmiko client. We are facing one small issue passing 2 level authentication, like we want pass otp or the 2 leavel authvalue like we pass the password. any workaround can u suggest. I hv explored the "auth_interactive_dumb" but that ll be prompt base any where we can do with prompt based . thank u for the help

Activity

  1. bskinn commented on Nov 14, 2022

    @bskinn
    Contributor

    We are facing one small issue passing 2 level authentication, like we want pass otp or the 2 leavel authvalue like we pass the password. any workaround can u suggest.

    To make sure I understand: you have a server that uses 2FA, and you want to be able to programmatically pass the OTP or other 2FA response to that server, as part of a paramiko session?


    Can you re-state this?

    I hv explored the "auth_interactive_dumb" but that ll be prompt base any where we can do with prompt based .

    I'm not sure I understand what you mean by it. Is it just that the only approaches you've found so far require the user to manually enter the OTP/2FA code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions