pi-ssh v0.1.0
pi-ssh v0.1.0
Add SSH targeting to pi’s existing bash tool while keeping explicit local execution.
Install
pi install git:github.com/michaelasper/pi-ssh@v0.1.0Included
- Optional per-call
hostand remotecwd;host="local"always runs locally. - CLI/environment defaults and a configurable SSH connection timeout.
- Native pi streaming, output truncation, command timeouts and local process cleanup.
- Strict host-key verification, non-interactive OpenSSH and safe shell quoting.
- Diataxis documentation, test-first development evidence and reproducible verification scripts.
Verification
15 tests, strict TypeScript checks and package checks pass on macOS and Linux with Node.js 22, 24 and 26 in GitHub Actions. Real SSH end-to-end tests and isolated openai-codex/gpt-5.6-luna usability sessions also passed.
Packaging follows pi’s upstream guidance: optional bundled-package peers, zero installed production dependencies, and a narrow source/documentation tarball. Development dependencies are current; both full and production npm audits report zero vulnerabilities. CI includes audit gates and current SHA-pinned actions.
Requires pi 0.85.1, Node.js 22.19+, local Bash/OpenSSH and remote Bash with a POSIX-compatible login shell. Only bash is remote-capable; file tools and ! commands remain local. Cancellation stops the local SSH client, not necessarily all remote descendants.
See the documentation for configuration and verification details.