3.0.4 • Published 4 years ago

@runnerty/executor-scp v3.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

NPM version Downloads

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"
}
3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago