title: How to fix Vagrant error: `private_key_path` file must exist:
body: <p>I've been using <a href="https://puphpet.com/" rel="nofollow noreferrer">PuPHPet</a> to create virtual development environments.</p>
  
  <p>Yesterday I generated a config file for a new box. When I try to spin it up using the <code>vagrant up</code> command, I get the following error message:</p>
  
  <blockquote>
    <p>C:\xx>vagrant up </p>
    
    <p>Bringing machine 'default' up with 'virtualbox'
    provider... There are errors in the configuration of this machine.
    Please fix the following errors and try again:</p>
    
    <p>SSH:
    * <code>private_key_path</code> file must exist: P://.vagrant.d/insecure_private_key</p>
  </blockquote>
  
  <p>I came across this <a href="https://stackoverflow.com/questions/25017624/vagrant-ssh-private-key-path-file-must-exist">question</a> and moved the insecure_private_key from puphpet\files\dot\ssh to the same directory as where the Vagrantfile is. However this gives the same error.</p>
  
  <p>I'm also confused by the directory given in the error message; </p>
  
  <blockquote>
    <p>P://.vagrant.d/insecure_private_key</p>
  </blockquote>
  
  <p>Why is the  'P' drive mentioned?</p>
  
  <p>My Vagrantfile can be found <a href="http://pastebin.com/jwc6USPX" rel="nofollow noreferrer">here</a>.</p>
  
  <p>Appreciate any advice on solving this error.</p>