Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/invernizzi/vagrant-scp
Copy files to a Vagrant VM via SCP.
https://github.com/invernizzi/vagrant-scp
Last synced: 2 days ago
JSON representation
Copy files to a Vagrant VM via SCP.
- Host: GitHub
- URL: https://github.com/invernizzi/vagrant-scp
- Owner: invernizzi
- License: mit
- Created: 2015-01-26T22:59:19.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-03-03T14:53:14.000Z (over 2 years ago)
- Last Synced: 2024-10-31T15:14:45.535Z (8 days ago)
- Language: Ruby
- Size: 34.2 KB
- Stars: 311
- Watchers: 12
- Forks: 30
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-vagrant - vagrant-scp - Copy files to a Vagrant VM via SCP. (Notable plugins)
README
# Vagrant::Scp
Copy files to a Vagrant guest via SCP.
## Installation
You need to install the plugin, like so
vagrant plugin install vagrant-scp
## Usage
If you have just a single Vagrant guest, you can copy files over like this:
vagrant scp
If you have multiple VMs, you can specify it.
vagrant scp [vm_name]:
Copying files out of the guest works in the same fashion
vagrant scp [vm_name]:
If source is a directory it will be copied recursively.
## Examples
If you have just one guest, you can copy files to it like this:
vagrant scp file_on_host.txt :file_on_vm.txt
And from the guest like this:
vagrant scp :file_on_vm.txt file_on_host.txt
## Vagrant version
We require Vagrant v1.7 or newer. If you are running older version (check with `vagrant --version`), install recent version directly from [vendor site](https://www.vagrantup.com/).