4
1
When using PuTTY connect to a new host, I often get the warning
The server's host key does not match the one PuTTY has cached in the registry.
after I press
Yes
PuTTY adds the server RSA key into the Windows 10's registry, and I will be able to login the remote server, and the warning won't appear again.
I know the RSA key comes as pairs, both public and private. What I am trying to understand is which key did the server saved into my local machine, the server's public key I guess.
Also when the PuTTY made the initial SSH connection to the server, how the server decides which key to forward? Assume the server has list of the public keys, is there a generic key for any client trying to make the connections?
And where is this generic key stored on the server? under /root/.ssh/ authorized_keys
?
1You are talking specifically about "host" keys, right? You are not mixing "host" key with "user" key for key exchange pair needed for user authentication to the SSH server, right? – Pimp Juice IT – 2018-04-05T14:56:26.087