I have a use case where I occasionally want to copy a single file from my host machine to the Vagrant guest.
I don\'t want to do so via traditional provisioners (Pup
You can add entry in ~/.ssh/config:
~/.ssh/config
Host vagrant User vagrant HostName localhost Port 2222 IdentityFile /home/user_name/.vagrant.d/insecure_private_key
and the simplescp file vagrant:/path/. You can find path to identity file using the vagrant ssh-config command.
scp file vagrant:/path/
vagrant ssh-config