trust on first use
The model where a client accepts a server's key the first time it sees it and then insists on the same key afterwards.
In more detail
SSH uses it by default. It protects every later connection, but the first one is only safe if you verified the fingerprint independently.
Related terms
- host key — The key pair an SSH server uses to prove its identity to every client that connects.
- known_hosts — The file where the SSH client stores host keys it has accepted, one per server, to check them on later connections.
- man-in-the-middle attack — An attack where someone secretly sits between two parties, relaying and possibly altering their traffic while each thinks it talks to the other.
Taught in
- SSH: The Protocol, And The Host Key You Accept — Linux Fundamentals & Systems Administration