Also what happens if you loose your cellphone? We thought about this and for us the possibility of loosing access to the server fully was too much.
Also what happens if you loose your cellphone? We thought about this and for us the possibility of loosing access to the server fully was too much.
If not, it might be possible to configure PAM with some sort of keys module set to 'sufficient', then have PAM fall back on two-factor auth paired with pam_unix.
In fact, I'll see if I can get either of those working a bit later today. Seems like it could be neat.
Of course this leaves you a vulnerable to ip spoofing, but adds a ton of convenience and could be a good trade-off.
But that's correct, in recent openssh versions, it seems that you can add specific-host-only rules for authentication etc.
I also believe I once ran across a patch someone had done to the login code to allow both to be required, I can't find the link right off though as I'm at work currently. If I find it, I'll add it here
This is on our list to pay for someone to do, and we'll release it when they do ... it will probably be FreeBSD-centric, but if it's against OpenSSH generally, it should be usable by others...
Then that's a process problem that can be solved. It would take a trivial amount of time to screenshot the page and stash them in your wiki or similar.
I've written down mine on three different pieces of paper (in my wallet, my bag and my closet), and also took a screenshot from it and `gpg`-ed it (with a passphrase, so no one can open it unless they know the password) and stored it in a few online repositories, as well as a friend's mailbox.
So, I'll never be locked out from my account.
This is your problem. I keep mine (for multiple services) in my wallet, and it's worked out excellently.