Skip to main content

Hoploom

A local-first SSH host and credential manager for humans and AI agents. One CLI (hoploom) and a loopback-only web UI to add, import, test, and connect to your servers — with every password and passphrase stored in your operating system's native credential vault, never in a plaintext file.

Previously SSH Server Manager. serverctl remains compatible; see the upgrade guide before replacing an existing installation.

test PyPI release license

简体中文说明 · Documentation · Security model · Website

🤖 Using an AI agent? The skill deploys to every agent on your machine in one line — dependencies, links, and health check included. See the agent deployment guide.


Why this exists

Most SSH managers make you choose between convenience and custody:

  • Cloud-synced clients (subscription GUIs) keep your credentials on someone else's infrastructure.
  • Plain ~/.ssh/config keeps you in control but handles no passwords, no vault, and gives AI coding agents an easy way to leak secrets.
  • sshpass-style wrappers put passwords in files, env vars, or shell history.

Hoploom is different by construction:

Property How
Secrets never touch disk in plaintext macOS Keychain / Windows Credential Locker / Linux Secret Service via keyring; unsafe backends are rejected as a hard error
Your ~/.ssh/config is never modified A separate managed config is rendered and included alongside it
The web UI is unreachable from the network Loopback-only bind, one-time launch token, CSRF + Origin checks, strict CSP
Revealing a stored secret requires re-auth WebAuthn passkey (Touch ID / Windows Hello) or an Argon2id master password; grants are single-use and expire in 30 s
AI agents can drive it without seeing secrets Every command has --json; SSH authentication happens through AskPass so secrets never appear in argv, env, logs, or model context
Environment guidance stays with the right hosts Local Agent Skills have explicit many-to-many host bindings; resolution partitions multi-host tasks without installing skills or returning their bodies
Host keys are always verified StrictHostKeyChecking is never weakened, by policy and by code

Quick start

Source builds require the toolchain in rust-toolchain.toml. Published wheels support standard CPython 3.10+ on macOS, Windows, Linux glibc/musl, x64/ARM64, without a Rust compiler. The one-line Skill installer uses a published wheel and matching release tag; local checkout installation builds from source.

git clone https://github.com/xiayh0107/hoploom.git
cd hoploom/ssh-server-manager
./scripts/bootstrap          # Windows: scripts\bootstrap.cmd
./scripts/hoploom doctor   # verify ssh, vault backend, and dependencies

Add a server and connect:

./scripts/hoploom credential add-password work-password   # prompts locally, stores in OS vault
./scripts/hoploom server add web1 --hostname web1.example.com --username deploy --credential work-password
./scripts/hoploom server test web1
./scripts/hoploom connect web1

Or import everything you already have:

./scripts/hoploom server import          # preview only
./scripts/hoploom server import --apply

Prefer a GUI? ./scripts/hoploom ui opens the local web interface in your browser with a one-time tokenized URL.

Features

  • Connection profiles — alias, host, port, user, project/scenario tags, notes, ordered ProxyJump chains (with cycle detection).
  • Host-bound Agent Skills — discover and register local skills, bind one skill to several related nodes or several skills to one host, and resolve exact applies_to partitions before an agent acts. Bindings are routing metadata, not remote authorization. Manage a host's assignments directly from Hosts details; use the Skills page for discovery and registration.
  • Three credential kinds — vault-backed passwords, private keys with optional vault-backed passphrases, and ssh-agent/OpenSSH defaults. Credentials are reusable across servers. Default deletion rejects references; the Web UI can preview references and explicitly detach before deleting. Inspect and validate private keys locally, or test a selected credential independently without changing host bindings or health records.
  • OpenSSH import — parses your ~/.ssh/config (following Include), resolves each literal alias with ssh -G, previews before applying.
  • Managed config rendering — atomic, user-only-permission writes to ~/.ssh/ssh-server-manager.conf; your original config always loads last so unrelated defaults keep working.
  • Connection testing — server test reports latency and a classified error code (authentication-failed, host-key-untrusted, timeout, dns-failed, …) and records history.
  • Remote execution — hoploom exec alias -- cmd args, with --shell for pipelines, --stdin/--stdin-binary for streaming files, --reuse N for ControlMaster connection sharing (macOS/Linux), and --json for machine-readable results.
  • Saved working directories — hoploom path add web1 /srv/app --label app records where you work on a host; hoploom path resolve answers "where does this fleet keep its application" in one read, with no connection, grouping hosts that share a layout.
  • File transfer — hoploom get web1:/srv/app/config.yml . and hoploom put ./config.yml web1:/srv/app/ move files over the same SFTP path and vault credentials, and --recursive copies a whole tree, so no password prompt appears where scp and rsync would ask for one they cannot supply.
  • Local mounting — hoploom mount web1:/srv/app exposes a remote directory to Finder, Explorer, and your editor through sshfs. Needs a FUSE layer that hoploom doctor checks for; see docs/mounting.md.
  • Local web UI — manage servers and credentials, test connections, create/rename/delete tags and bulk-assign searchable hosts, choose system/light/dark/contrast themes and selectable accents, import config, and browse remote directories with saved paths, tabs, server-side name filtering, and explicit download/upload actions. Conflicts require an explicit overwrite. Hosts distinguish connection checks from system diagnosis and show the last successful observation. Reveal a stored secret for 15 seconds after passkey or master-password re-authentication. The session shows its actual expiry. Inspect or shut down a background instance with hoploom ui --status / --stop — no pid bookkeeping.
  • Port forwarding — save a forward per host (hoploom tunnel add db1-local --server db1 --local 15432:localhost:5432) and open it as a detached ssh -N (tunnel open), with status and close. Binds to 127.0.0.1 unless you say otherwise, and status proves a forward is live against the real process.
  • Audit log — a local, append-only, mode-600 record of remote commands and secret reveals (hoploom audit list --json). It rotates itself at 5 MiB, masks credential-shaped arguments, and never stores a secret value.
  • Portable inventory — hoploom export writes a deterministic JSON document of hosts, saved paths, and tunnels for git or another machine; hoploom import previews, then merges. Never secrets or credential ids.
  • Agent integration — a host-bound Agent Skill, plus an optional MCP server (hoploom mcp serve) that is read-only unless started with --allow-remote or --allow-exec --allow-command PATTERN, and never reveals a secret.
  • Mosh and session transcripts — hoploom connect ALIAS --mosh for roaming links, and connect --log for an opt-in, redacted transcript.
  • Local GeoIP — hoploom geo resolve --all --apply fills host locations from a local range file; no web service, and never a lookup when reading the inventory.
  • Diagnostics — hoploom doctor checks ssh availability and version, SFTP availability, mount backend availability, mosh and GeoIP support, vault backend safety, database and config paths, and Python dependencies.

Platform support

macOS Linux Windows
CLI + web UI ✅ ✅ ✅
Credential vault Keychain Secret Service (gnome-keyring / KWallet / KeePassXC) Credential Locker
Secret reveal re-auth Touch ID passkey or master password passkey or master password Windows Hello passkey or master password
Connection reuse (--reuse) ✅ ✅ — (OpenSSH ControlMaster needs Unix sockets; a warning is printed)
Background tunnels (hoploom tunnel) ✅ ✅ ✅
Mosh (connect --mosh) ✅ ✅ — (the Windows client is not offered; use connect)
Session transcripts (connect --log) ✅ ✅ — (needs a POSIX pty; the command says so)

Details and headless-server notes: docs/platforms.md. CI runs the full test suite on all three platforms.

For AI agents

This project ships as an Agent Skill (SKILL.md) so Claude Code, Codex, and other agents can manage servers safely: agents get structured JSON output and connection error classification, while the AskPass architecture keeps secrets out of the model's context by design.

The skill also encodes conversation UX, not just commands: agents answer inventory questions from a single --json call, hand interactive shells to your terminal and proxy follow-up commands through exec (connect refuses to run without a TTY instead of hanging), and clean up a background UI with hoploom ui --stop.

Environment-specific skills can follow only the hosts where they belong. The agent identifies the target first, runs hoploom skill resolve ALIAS [ALIAS ...] --json, then selects relevant ready skills by their normal trigger rules and applies them only to their returned applies_to aliases. Switching hosts discards the previous host-specific context; no cluster name or provider is hard-coded.

hoploom skill discover --json
hoploom skill add ~/.agents/skills/gpu-ops \
  --server gpu-lab-01 --server gpu-lab-02 --json
hoploom skill resolve gpu-lab-01 gpu-lab-02 --json

Discovery is local and read-only. Registration does not install or execute a skill, and resolution returns metadata and paths rather than instruction bodies. See the agent deployment guide.

Deploy the skill with one line:

curl -fsSL https://raw.githubusercontent.com/xiayh0107/hoploom/main/install.sh | sh

It links the skill into every detected agent (~/.claude/skills, ~/.codex/skills, …), installs dependencies, and runs doctor. Windows uses install.ps1. See docs/ai-agents.md.

Only the CLI and Web UI: pipx install hoploom, or brew install xiayh0107/tap/hoploom.

Documentation

Doc Contents
docs/installation.md Per-platform install, requirements, bootstrap
docs/quickstart.md First 10 minutes, common workflows
docs/cli.md Complete hoploom reference
docs/web-ui.md Web UI walkthrough and its security gates
docs/security.md Threat model and security invariants
docs/platforms.md Platform-specific behavior, headless Linux
docs/ai-agents.md Using with Claude Code / Codex / MCP
docs/mounting.md Mounting a host locally with sshfs
docs/faq.md Troubleshooting and common questions

License

MIT

Metadata

Release files for hoploom 0.12.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hoploom 0.12.1
File Size Uploaded Provenance Actions
hoploom-0.12.1.tar.gz 895.3 kB With provenance Details for hoploom-0.12.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for hoploom 0.12.1
File Actions
hoploom-0.12.1-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for hoploom-0.12.1-cp310-abi3-win_arm64.whl
hoploom-0.12.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for hoploom-0.12.1-cp310-abi3-win_amd64.whl
hoploom-0.12.1-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for hoploom-0.12.1-cp310-abi3-musllinux_1_2_x86_64.whl
hoploom-0.12.1-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for hoploom-0.12.1-cp310-abi3-musllinux_1_2_aarch64.whl
hoploom-0.12.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for hoploom-0.12.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
hoploom-0.12.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for hoploom-0.12.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
hoploom-0.12.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for hoploom-0.12.1-cp310-abi3-macosx_11_0_arm64.whl
hoploom-0.12.1-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for hoploom-0.12.1-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 7.6 MB

Release files / hoploom-0.12.1.tar.gz

Download URL hoploom-0.12.1.tar.gz
Size 895.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cdd4d83ea54166836c5116723cd5fc1b1fa62b92b0176737915ba19da1628d3a
BLAKE2b-256 checksum
How to use checksums
6a2de2d43577eceacb26ccaa4b8fc5c19d6b2c905a6677f1b4cc906bcee26ac7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-win_arm64.whl

Download URL hoploom-0.12.1-cp310-abi3-win_arm64.whl
Size 714.3 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
f5877fabd176bd055db379c05b42ba9c530c6b76ccab212e53f1d2c3a44f4573
BLAKE2b-256 checksum
How to use checksums
12d067c24ec637c7f1748001138c95e3d4c381e30836e7e7bf34daf2be37128b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-win_amd64.whl

Download URL hoploom-0.12.1-cp310-abi3-win_amd64.whl
Size 725.6 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
59bfa9fe7d4380dddb0e82ff3da4ab0715c7299ca2966a139d62c76aa9c2bec1
BLAKE2b-256 checksum
How to use checksums
fe7713127148b991e4461bd1bd5e6e31e264df0c6e43fd3fdcce07008e968941
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL hoploom-0.12.1-cp310-abi3-musllinux_1_2_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
e60fe53b64a8fc7ebdb0d5e8076a446467975360eb1936b40517e7eb68b2b6d5
BLAKE2b-256 checksum
How to use checksums
4e70587f3f419c3c1374e5b601a3ade5db73eeb673221722d810ce1bc30f4b5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL hoploom-0.12.1-cp310-abi3-musllinux_1_2_aarch64.whl
Size 991.7 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
15ac96c102bd0317baf97a3fc0959556060b577e33d7200da0f115721a146906
BLAKE2b-256 checksum
How to use checksums
d23610f15dc598873852f07e5f4149e8426169fce447c285a755c9ebf8a29730
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL hoploom-0.12.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 824.8 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f89543ecc66ccc681e4e9a410d398e1e820f177ef87a0892ed833cea8c5340e6
BLAKE2b-256 checksum
How to use checksums
64da597bcfd4d9faa25a7558295c6669b9d0f61e6df565be7fc59f5942b88009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL hoploom-0.12.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 813.0 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
887d092cde446a16809ae369bf09ce84fa58200604d7bc95a8d1bf9b6b1e157b
BLAKE2b-256 checksum
How to use checksums
5dfefd7354bdf35d398e7eeff8238e154f3917974c4f1b16493a19b61c27b3e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL hoploom-0.12.1-cp310-abi3-macosx_11_0_arm64.whl
Size 782.1 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5c3dc30fe95e64728fed4a32cae7df4f720df7db387d4dc60ae541180f1958d2
BLAKE2b-256 checksum
How to use checksums
baef0f7aad914770b961d85595413621d4471d5bb0103ba2abf33140422693f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / hoploom-0.12.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL hoploom-0.12.1-cp310-abi3-macosx_10_12_x86_64.whl
Size 790.4 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
acf7b0ce326c0f668c1d83a6960b4a3c2bd2c2603430fb7608e0e3d1425c7a3c
BLAKE2b-256 checksum
How to use checksums
8e15854236281d133b5751dbd3d0384bb8ad28f3925294e0bf769e378e10be25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for hoploom 0.12.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for hoploom-0.12.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.12.1 This release

9 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page