Question: where are ssh host keys stored?
Answer: Known Host Keys SSH clients store host keys for hosts they have ever connected to. These stored host keys are called known host keys, and the collection is often called known hosts. In OpenSSH, the collection of known host keys is stored in /etc/ssh/known_hosts and in . ssh/known_hosts in each user's home directory.