@runnerty/executor-scp

3.0.4 • Public • Published

Smart Processes Management

NPM version Downloads code style: prettier

SCP executor for Runnerty:

Requires sshpass tool to be installed in the SO.

By default, the executor use the port 22, it is possible to indicate a different port with the property "remotePort"

It is possible to use "remotePassword" instead off "identityFile"

Installation:

Through NPM

npm i @runnerty/executor-scp

You can also add modules to your project with runnerty-cli

npx runnerty-cli add @runnerty/executor-scp

This command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.

If you have installed runnerty-cli globally you can include the module with this command:

rty add @runnerty/executor-scp

Configuration sample:

Add in config.json:

{
  "id": "scp_default",
  "type": "@runnerty-executor-scp"
}

Plan sample:

Add in plan.json:

{
  "id": "scp_default",
  "identityFile": "mykey.pem",
  "localFile": "originfile.txt",
  "remoteFilePath": "/var/remote.txt",
  "remoteHost": "my.host.com",
  "remoteUser": "user"
}
{
  "id": "scp_default",
  "identityFile": "mykey.pem",
  "localFile": "originfile.txt",
  "remoteFilePath": "/var/remote.txt",
  "remoteHost": "my.host.com",
  "remoteUser": "user",
  "remorePassword": "password"
}

Readme

Keywords

Package Sidebar

Install

npm i @runnerty/executor-scp

Weekly Downloads

2

Version

3.0.4

License

MIT

Unpacked Size

9.19 kB

Total Files

11

Last publish

Collaborators

  • coderty