Is there a way to generate or reinstall some package to get the contents of ~/.ssh/known_hosts file ?
what to do if you by mistake removed ~/.ssh/known_hosts file?
ssh
Whenever you connect to an unknown host ssh will prompt youThe authenticity of host '...' can't be established.RSA key fingerprint is ...Are you sure you want to continue connecting (yes/no)? and add a new entry to the file known_hosts file.So to regenerate the file connect to your usual hosts and optionally check the fingerprint if you suspect a MITM.