Smoothest workflow to handle SSH host verification errors?

view story

http://serverfault.com – This is a simple issue that we all face and probably resolve manually. As servers change, are re-provisioned, or IP addresses reallocated, we get the SSH host verification message below. I'm interested in streamlining the workflow related to these ssh identification errors. Given the following message, I typically vi /root/.ssh/known_hosts +434 and remove (dd) the offending line. I've seen developers/users in other organizations delete their entire known_hosts file out of frustration in seeing this message. While I don't go that far, I know there's a more elegant way to handle this. Tips ()