There's a website which requires multi-factor authentication. Now I use google authenticator on my smartphone.

I want to make API calls (which is possible only having MFA) from my Linux therefore I need a software that will generate proper MFA codes on my box, then I'll be able to pass the codes to my script.

Is there such software?


Yes, there is, oathtool for example. You need to provide it with the key to use obviously.

Note that using such a tool might well go against the security policies of whatever service it is you’re using, since it undermines the “multi-factor” part of the equation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.