title: How do I automatically migrate the host's SSH public key to my Puppet-based Vagrant Virtual Machine
body: <p>Is there a way to migrate my Host's public ssh key to my VM?
  The use case is:</p>
  
  <p>I have a user who has a public SSH key which has access to a certain repository.
  I am creating a VM that will be distributed to other developers (who have access with their SSH keys to this repository)
  I would like to automate git cloning of the repository so it happens during exec-once ..
  What should I do that involves as few manual paths as possible?</p>
  
  <p>PS: I am using <a href="https://puphpet.com/" rel="nofollow">https://puphpet.com/</a> to generate the vagrant machine for me - I am not editing the Vagrantfile direclty. </p>