Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple executable that allows a file to copied to multiple remote hosts, using node.js
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
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.