4 ms·
the problem is that google authenticator stores the seed in the phone(and the server) so if you lose it basically you lose the server too, right?
by dcu 14y ago
the problem is that google authenticator stores the seed in the phone(and the server) so if you lose it basically you lose the server too, right?
- pejoculant 14y agoI think it still requires your normal password as well, so the server wouldn't be lost unless someone had both.
- mbreese 14y agoIt's two-factor authentication: something you have (phone) and something you know (password to your ssh cert). So, you have to lose both in order to lose the server.
- natrius 14y agoI don't think this is the case. Losing either loses the server in the sense that you won't be able to access it. The fix is that the "something you have" is both your phone and emergency codes.
- mbreese 14y agoIn security, losing the server doesn't mean losing access to the server. Losing the server means that someone else has access to the server, as in an adversary. Yes, if you lose either factor, you can't access the server. This is why with Google Authenticator you also get a one time pad with emergency codes. However, I don't know how well this would work with two-factor SSH... you'd need a separate one time pad for each server. And I'm not sure how the Google PAM module handles emergency codes.
- brendn 14y agoNo, both authentication factors are required, so either losing your phone or forgetting your password would be sufficient to lock you out. However, the Google authenticator PAM plugin provides emergency access codes to use in the case that the one-time password generator is not available.
- 0x0 14y agoIf you mean lose access to the server, then the google-authenticator sets you up with a few emergency one-time codes you could write down on a note and keep safe, in case your phone is lost.
- fffggg 14y agoNot to mention you can write down the seed itself and simply type it into another phone.
- jordibunster 14y agoI don't think google-authenticator does that, I think Gmail does that.
- 0x0 14y agoThere's a bunch of references to scratch codes in the pam google-authenticator module, but I haven't actually tried to run the code. http://code.google.com/p/google-authenticator/source/browse/libpam/google-authenticator.c#621 http://code.google.com/p/google-authenticator/source/browse/...
- conroe64 14y agoIf you are talking about not being able to log into the server anymore, you can make backups of the seed. On android, you just need to pull the file "/data/data/com.google.android.apps.authenticator2/databases/databases" off the phone.
- ben1040 14y agoThis only works if your phone has been rooted.
- mootothemax 14y agothe problem is that google authenticator stores the seed in the phone(and the server) so if you lose it basically you lose the server too, right? If you lose your phone and your scratch codes, you've only lost access via SSH. So it's an inconvenience, but one you can overcome with the right setup.
- drivebyacct2 14y agoWell, if that were the case, when I lose my phone (sadly, not if), I would be locked out of years of Google account data. Fortunately there are backup codes. (And for Google a phone number call/text recovery path).