Relearn or overwrite old know_hosts with new host keys LinuxOSXProductivitysshssh-keygen Posted on August 5, 2014 | by admin Use this command ssh-keygen -R hostname For example, ssh-keygen -R server2.mycompany.net This will allows changes to known_hosts to occur which will no longer trigger the host authenticity warning. Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window) Related