Simple CLI app that generates tokens compatible with Google Authenticator. I implemented this mainly to understand how it works, you should probably not use this. Example output:
$ go run main.go "<your key>"
934523 (17 second(s) remaining)
In some enterprise scenarios, there will be bastion hosts (which may have different names such as jump servers) and other jump servers for transfer, which allow technical personnel in the office environment (usually positions that need to perform operation and maintenance work) to remotely access certain servers in the online self-owned computer room through the bastion host. The bastion host usually uses 2FA technology verification.
In some enterprise scenarios, each employee usually has his own domain account, which is used as the account and password login for corporate mailboxes, corporate OA, corporate office computers, corporate internal systems, etc. If necessary, the domain account system is usually connected to allow technical personnel to log in to certain online servers
In the above two scenarios, technical personnel need one account and two passwords to log in to the online server. The account is the domain account, the first is the password of the domain account, and the second password is the 2FA dynamic verification code of the bastion host.