Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple executable that allows a file to copied to multiple remote hosts, using node.js

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 multi-scp
README.md

node-multi-scp

This is a simple utility script that allows a file to be copied to all the hosts defined in ~/.ssh/config.

It is assumed that you have copied your public key to each host within ~/.ssh/config so the copy can take place without a password prompt.

Note that the optimise module is a requirement.

Example usage:

./multi-scp ~/.bashrc              # copy ~/.bashrc to all hosts
./multi-scp sample.bashrc .bashrc  # copy sample.bashrc to all hosts but with remote name .bashrc

node.js is used within the function to spawn a separate child process for each copy.

Something went wrong with that request. Please try again.