@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 +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/xyops.json +1 -1
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
|
-
|
|
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.
|
|
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",
|