Is there a command line two-factor authentication verification code generator?

Posted by dan on Server Fault See other posts from Server Fault or by dan
Published on 2013-07-01T16:16:59Z Indexed on 2013/07/01 16:22 UTC
Read the original article Hit count: 328

Filed under:
|
|

I manage a server with two-factor authentication. I have to use the Google Authenticator iPhone app to get the 6-digit verification code to enter after entering the normal server password. The setup is described here: http://www.mnxsolutions.com/security/two-factor-ssh-with-google-authenticator.html

I would like a way to get the verification code using just my laptop and not from my iphone. There must be a way to seed a command line app that generates these verification codes and gives you the code for the current 30-second window.

Is there a program that can do this?

© Server Fault or respective owner

Related posts about ssh

Related posts about authentication