@xynogen/pix-ssh 0.2.6 → 0.2.7
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 +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,12 @@ Pi tool — `ssh_run`: run a command through a remote host's configured SSH shel
|
|
|
7
7
|
|
|
8
8
|
## What it does
|
|
9
9
|
|
|
10
|
-
Registers the `ssh_run` tool
|
|
10
|
+
Registers the `ssh_run` tool — run a command through the configured SSH shell on a remote machine, behind the same permission dialog pix-sudo uses (shared overlay from `@xynogen/pix-pretty`).
|
|
11
|
+
|
|
12
|
+
- **Initial + privileged calls** → Allow/Deny approval, 60-second auto-deny timeout.
|
|
13
|
+
- **Non-privileged calls** → may auto-approve during the 15-minute per-host window, or in YOLO mode when no password is missing; each auto-approval emits a notification.
|
|
14
|
+
|
|
15
|
+
Output is truncated to 50 KB / 2000 lines. Non-interactive (RPC/JSON) mode blocks the tool immediately.
|
|
11
16
|
|
|
12
17
|
**Parameters:** `host` as `[user@]host[:port]` (e.g. `deploy@10.0.0.5:2222`), `command`, optional `sudo` (run through POSIX `sudo` as root), optional `reason`.
|
|
13
18
|
|
|
@@ -37,6 +42,8 @@ Completed calls collapse after the configured Pix delay into a status row such a
|
|
|
37
42
|
pi install npm:@xynogen/pix-ssh
|
|
38
43
|
```
|
|
39
44
|
|
|
45
|
+
> Standalone/opt-in — **not** bundled by [`@xynogen/pix-core`](https://www.npmjs.com/package/@xynogen/pix-core). Remote execution over SSH is a networked, privileged capability, so you install it deliberately.
|
|
46
|
+
|
|
40
47
|
## Full distro
|
|
41
48
|
|
|
42
49
|
Source: [github.com/xynogen/pix-mono](https://github.com/xynogen/pix-mono)
|