tags: ssh To add host keys to the `known_hosts` file. ``` ssh-keyscan machinename >> ~/.ssh/known_hosts ``` Source: [this serverfault](https://serverfault.com/questions/321167/add-correct-host-key-in-known-hosts-multiple-ssh-host-keys-per-hostname).