title: Automatically updating known_hosts file when host key changes using Paramiko
body: <p>Currently I am using Paramiko (in Python) to execute remote command on a node. At times, remote nodes change theirs public key, and consequently Paramiko fails as fingerprints do not match. Is there a way to update the keys in <code>known_hosts</code> file when they change? If this is not possible is there any other way to ignore the warning thrown?</p>
  <p>Currently I have a hacky solution where <code>known_hosts</code> file is deleted before making the call which is not good.</p>