sshx
БесплатноБез исполняемых скриптовНе проверенOperate remote servers with the `sshx` CLI — inspect hosts, dissect remote logs with `sshx text`, run commands over SSH, transfer files over SFTP, apply a…
от jamiesun367 установок в других каталогахОб этом скилле
sshx
sshx is a single-binary, cross-platform SSH/SFTP client with a built-in
OS-keyring (or explicit local-vault) password manager and named-host config.
Every invocation opens one connection, does its work, and exits — there is no
daemon, local port forwarding, or SOCKS proxy. Named via jump hosts are
session-bound nested SSH (ProxyJump-style) and die with the process.
sshx login is a human-only TTY session; agents must not use it.
One command, multiple servers, zero password hassle.
When to use
- Run a one-shot command on a remote host (optionally with
sudo). - Execute complex scripts byte-for-byte with
sshx run --script-file/--script-stdin. The script's#!line picks the interpreter (#!/usr/bin/env bashruns under bash, soset -o pipefailworks);--shell=sh|bash|zsh|dash|ksh|ashoverrides it. - Fan out one action to a bounded host set with
--group/--tag/--targets. - Upload/download a file or list/make/remove remote paths over SFTP.
- Replace one remote regular file with
sshx apply(hash precondition, backup, atomic write). - Manage frequently used hosts by short name (
~/.sshx/settings.json). - Store SSH or sudo passwords in the OS keyring, or in an explicit write-only local vault on headless hosts.
- Run one guarded SQL statement against a remote PostgreSQL (plain or Dockerized), MySQL/MariaDB, or a remote SQLite file, with classification, backups, and a full audit trail.
- Inspect system/network state in one call and create custom application plugins in the sshx runtime directory.
- Dissect remote logs with
sshx text(exception blocks, presets, line windows). Prefer this oversshx run -- "grep|journalctl".
Inspect before repeating discovery commands
When the goal is to understand an unfamiliar host, list reusable capabilities before issuing many independent commands:
sshx plugin list --json
sshx inspect -h=prod-web system.baseline --json
sshx plugin list always names the local plugin root and its provenance, and a
missing plugin names the directory that was searched. When a plugin already
exists as a local directory, provision it through the CLI instead of placing
files by hand:
sshx plugin install ./my-plugin --trust --json # validate + publish + trust
sshx plugin install ./my-plugin --replace --json # keep the old one as a backup
Application-specific scripts are sshx runtime assets under
~/.sshx/plugins/<id> (or $SSHX_HOME/plugins/<id>). Do not embed or maintain
collector scripts in this skill. If no suitable plugin exists, ask sshx to
create the complete scaffold, then edit the generated collector in that path:
sshx plugin create private.environment \
--template=generic \
--platform=linux \
--privilege=optional \
--json
sshx plugin validate private.environment --json
sshx plugin test private.environment --fixture=complete --json
sshx plugin test private.environment --json
sshx plugin trust private.environment --json
Remote execution is refused until the current plugin digest is trusted. Editing the collector invalidates trust. Review it, validate/test it, then trust the new digest explicitly.
sshx inspect -h=prod-web private.environment --dry-run --json
sshx inspect -h=prod-web private.environment --json
sshx inspect -h=prod-web private.environment --cache=remote-prefer --max-age=10m --json
Remote caching is opt-in and stores only a redacted JSON observation below the
remote user's ~/.sshx/observations/v1; plugin code stays local and executes
only through the SSH session's stdin. Branch on observation status
(complete|partial|unsupported|failed) and cache hit/stale fields. Never
interpret partial or permission errors as application absence.
Do not use sshx login from an agent
sshx login attaches a human TTY to a remote shell (optional --sudo privileged
login). It has no Agent JSON contract, is rejected without a TTY, and is not an
MCP tool. For programmatic work keep using sshx run / sshx inspect /
sshx apply / sshx sql / sshx text with --json.
Dissect logs before downloading them
sshx text --help --json
sshx text -h=prod-web --path=/var/log/app.log --preset=exception --json
sshx text -h=prod-web --path=/var/log/app.log --around-line=8821 --context=5 --json
sshx text -h=prod-web --journal=nginx.service --since='1h' --preset=error --json
Do not invent grep/awk/journalctl pipelines under sshx run for triage.
There is no --command on sshx text. Download whole files only for archives.
Golden rule for agents: prefer sshx run + --json/--jsonl
For any non-interactive/programmatic use, prefer the canonical run contract:
sshx run --target=prod-web --json -- "systemctl is-active nginx"
sshx run --group=prod-web --tag=env=prod --concurrency=4 --jsonl -- "uptime"
sshx run --target=prod-web --script-file=./check.sh --json
Compatibility mode sshx -h=prod-web --json "cmd" still works and emi
Установить sshx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sshx?
Operate remote servers with the `sshx` CLI — inspect hosts, dissect remote logs with `sshx text`, run commands over SSH, transfer files over SFTP, apply a single remote file, manage named hosts, store SSH/sudo passwords in the OS keyring or local vault, and run guarded SQL. Use when the user wants structured host discovery, log/exception triage, remote command execution, safe config file changes, upload/download, host management, or safe production database changes. Prefer `--json`. Do not wrap grep/journalctl in `sshx run` when `sshx text` fits.
Как установить скилл sshx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sshx запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic