Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vagrant-scp-sync

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vagrant-scp-sync

  • 0.5.12
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 20 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc