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

Taught in

References