title: Remove line in host's known_host file through Vagrant
body: <p>I've narrowed down <a href="https://stackoverflow.com/questions/23141948/mysql-ssh-vagrant-connection-only-works-once">this</a> question - regarding a MySQL over SSH connection only working once - to a conflicting line in my host computer's <code>known_hosts</code> file.</p>
  
  <p>Essentially, I can not get into my Database GUI of choice because the key is different for the same IP address (after re-provisioning, reloading, etc.).</p>
  
  <p>Once I delete any offending lines, I can get in just fine.</p>
  
  <p>So, through Vagrant's shell command (that I'm provisioning with) how can I modify the <strong>host machine's</strong> <code>~/.ssh/known_hosts</code> file?</p>
  
  <p><strong>EDIT:</strong>
  I found a temp fix that involves adding/creating a <code>~/.ssh/config</code> file (this involves using a private IP address):</p>
  
  <pre><code>Host 192.168.*.*
      StrictHostKeyChecking no
      UserKnownHostsFile /dev/null
  </code></pre>
  
  <p>Should let you in.  Not a real fix, as this kind of fix can be a security concern.  Look below for much better answer.</p>