我在带有Andoid应用程序的SSH服务器上使用Google Authenticator来生成代码。
运行$ google-authenticator应用程序之后,创build一组emergyncy键:
https://www.google.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth://totp/user@machine%3Fsecret%ABCDEFGHIJKLMNOP Your new secret key is: ABCDEFGHIJKLMNOP Your verification code is 123456 Your emergency scratch codes are: 12345678 90123456 78901234 56789012 34567890
如果使用全部5个代码,我该怎么办? 我怎样才能生成新的集合? 如果我运行$ google-authenticator ,它将生成新的密钥ABCDEFGHIJKLMNOP和Android应用程序停止工作,直到我设置新的密钥。
您的主目录中的.google_authenticator应列出救援代码。 只需添加新的。