Identity
Multi-factor authentication
Requiring more than one kind of proof to log in, such as a password plus a time-based code from a device.
Multi-factor authentication asks for two different kinds of proof at login: something you know (a password),
have (a phone) or are (a fingerprint). The common second factor is TOTP: server and
authenticator app share a secret once, and both turn it plus the current time into the same six-digit code, valid
about 30 seconds (oathtool --totp). A leaked secret lets anyone make codes; hardware keys and
passkeys never reveal one.
Read next
- Authentication and authorization Authentication proves who is asking; authorization decides what that identity may do.
- SSH Encrypted remote login and commands, on TCP port 22, with passwords or keys.
- Password strength and rate limiting Why guessable passwords fall to repeated tries, and the defences that stop them.
- Single sign-on Signing in once to an identity provider, then reaching many services without logging in to each.