public key authentication
Logging in by proving you hold a private key whose matching public key the server already trusts, instead of typing a password.
In more detail
sshd logs these logins as "Accepted publickey" with the key's fingerprint. They cannot be guessed like passwords, but a stolen private key works until its public key is removed from authorized_keys, so eradication must match on the key itself.
Related terms
- authorized_keys — The file in a user's ~/.ssh directory listing the public keys allowed to log in to that account over SSH.
- ssh-keygen — The OpenSSH tool for creating SSH keys and showing their fingerprints.
- sshd — The OpenSSH server program that accepts SSH connections and logs every login attempt.
Taught in
- Log Parsing, Schema Normalization (OCSF/ECS) & Extraction — Security Operations & Threat Hunting (SOC)