title: How do I add my own public key to Vagrant VM?
body: <p>I got a problem with adding an ssh key to a Vagrant VM. Basically the setup that I have here works fine. Once the VMs are created, I can access them via <code>vagrant ssh</code>, the user "vagrant" exists and there's an ssh key for this user in the <code>authorized_keys</code> file.</p>
  
  <p>What I'd like to do now is: to be able to connect to those VMs via <code>ssh</code> or use <code>scp</code>. So I would only need to add my public key from <code>id_rsa.pub</code> to the <code>authorized_keys</code> - just like I'd do with <code>ssh-copy-id</code>. </p>
  
  <p>Is there a way to tell Vagrant during the setup that my public key should be included? If not (which is likely, according to my google results), is there a way to easily append my public key during the vagrant setup?</p>