Sha256: 188c37a9d93d3600e2bb167f8bb62b8ce0b0d5c96ff5dbea612523628abe8692

Contents?: true

Size: 1 KB

Versions: 20

Compression:

Stored size: 1 KB

Contents

# Vagrant::ScpSync

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 <some_local_file_or_dir> <somewhere_on_the_vm>

If you have multiple VMs, you can specify it.

    vagrant scp <some_local_file_or_dir> [vm_name]:<somewhere_on_the_vm>

Copying files out of the guest works in the same fashion

    vagrant scp [vm_name]:<somewhere_on_the_vm> <some_local_file_or_dir>

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/).

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
vagrant-scp-sync-0.5.29 README.md
vagrant-scp-sync-0.5.28 README.md
vagrant-scp-sync-0.5.27 README.md
vagrant-scp-sync-0.5.26 README.md
vagrant-scp-sync-0.5.25 README.md
vagrant-scp-sync-0.5.24 README.md
vagrant-scp-sync-0.5.23 README.md
vagrant-scp-sync-0.5.22 README.md
vagrant-scp-sync-0.5.21 README.md
vagrant-scp-sync-0.5.18 README.md
vagrant-scp-sync-0.5.17 README.md
vagrant-scp-sync-0.5.16 README.md
vagrant-scp-sync-0.5.15 README.md
vagrant-scp-sync-0.5.14 README.md
vagrant-scp-sync-0.5.13 README.md
vagrant-scp-sync-0.5.12 README.md
vagrant-scp-sync-0.5.11 README.md
vagrant-scp-sync-0.5.10 README.md
vagrant-scp-sync-0.5.9 README.md
vagrant-scp-sync-0.5.8 README.md