@pixlcore/xyplug-ssh 1.0.1 → 1.0.2

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
@@ -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.2",
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,7 +10,7 @@
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.2",
14
14
  "script": "",
15
15
  "kill": "parent",
16
16
  "runner": true,