title: Finding my Valid RSA Host Key
body: <p>I recently migrated one of my domains to a new hosting service, so I switched the DNS name servers, moved the content to the new hosting service, etc.</p>
  
  <p>Now I am trying to log into the site (now on the new host) and there seems to be a problem on my own machine regarding this issue.</p>
  
  <p>Question: Where and How do I find the new correct RSA key that the below error message is saying that I need?</p>
  
  <p>Error Message (Details disguised):</p>
  
  <blockquote>
    <p>evan-stites-claytons-macbook-2171:~ estites$ ssh root@EXAMPLE.com<br>
    POSSIBLE DNS SPOOFING DETECTED!<br>
    The RSA host key for EXAMPLE.com has changed,<br>
    and the key for the corresponding IP address XXX.XXX.xxx.xx<br>
    is unchanged. This could either mean that<br>
    DNS SPOOFING is happening or the IP address for the host<br>
    and its host key have changed at the same time.<br>
    Offending key for IP in /Users/estites/.ssh/known_hosts:2<br>
    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!<br>
    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!<br>
    Someone could be eavesdropping on you right now (man-in-the-middle attack)!<br>
    It is also possible that the RSA host key has just been changed.<br>
    The fingerprint for the RSA key sent by the remote host is<br>
    xx:xx:xx:xx:xx:b5:21:f1:1f:39:xx:xx:xx:xx:xx:xx.<br>
    Please contact your system administrator.<br>
    Add correct host key in /Users/estites/.ssh/known_hosts to get rid of this message.<br>
    Offending key in /Users/estites/.ssh/known_hosts:1<br>
    RSA host key for example.com has changed and you have requested strict checking.<br>
    Host key verification failed.</p>
  </blockquote>