@pixlcore/xyplug-ssh 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,7 +18,7 @@ This makes it useful both as a simple remote shell runner and as a transport lay
18
18
 
19
19
  ## Requirements
20
20
 
21
- - `npx`
21
+ - `npx` (this comes pre-installed with xyOps and xySat)
22
22
  - Network access from the xyOps runner host to the remote SSH server
23
23
  - A POSIX-like remote host with `/bin/sh`
24
24
  - `base64` or `openssl` available on the remote host for env var bootstrapping
@@ -50,6 +50,7 @@ The plugin also exports a few helper variables remotely:
50
50
  - `SSH Hostname`: Hostname or IP address
51
51
  - `Username`: SSH username
52
52
  - `Port`: SSH port
53
+ - `Private Key File`: Optional path to private key on disk.
53
54
  - `Host Fingerprint`: Optional host key pin, recommended for production
54
55
  - `Connect Timeout`: SSH connect timeout in seconds
55
56
  - `Remote Env`: Extra key/value pairs to pass to the remote side
package/index.js CHANGED
@@ -228,7 +228,7 @@ function parseTarget(hostname, username, portFallback) {
228
228
  }
229
229
 
230
230
  function resolveAuth(params, secrets) {
231
- const privateKey = resolveNamedValue('SSH_PRIVATE_KEY', secrets);
231
+ let privateKey = resolveNamedValue('SSH_PRIVATE_KEY', secrets);
232
232
  const passphrase = resolveNamedValue('SSH_PASSPHRASE', secrets);
233
233
  const password = resolveNamedValue('SSH_PASSWORD', secrets);
234
234
  const agent = process.env.SSH_AUTH_SOCK || '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixlcore/xyplug-ssh",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "An SSH runner plugin for the xyOps workflow automation system.",
5
5
  "author": "Joseph Huckaby <jhuckaby@pixlcore.com>",
6
6
  "homepage": "https://github.com/pixlcore/xyplug-ssh",
package/xyops.json CHANGED
@@ -10,10 +10,10 @@
10
10
  "title": "Remote SSH",
11
11
  "enabled": true,
12
12
  "type": "event",
13
- "command": "npx -y @pixlcore/xyplug-ssh@1.0.1",
13
+ "command": "npx -y @pixlcore/xyplug-ssh@1.0.3",
14
14
  "script": "",
15
- "kill": "parent",
16
- "runner": true,
15
+ "kill": "all",
16
+ "runner": false,
17
17
  "notes": "Run remote commands or scripts over SSH.",
18
18
  "icon": "console-network-outline",
19
19
  "params": [