Plugins / SSH (bash)
SSH (bash) 2.0.6
The SSH (bash) plugin lets a Vaubaan Gateway mission use SSH (bash) without handing the agent a credential. Shell commands on a host over SSH — inspection on a read allow-list, writes priced by class (destructive, package, service, sudo), lines that cannot be classified priced as all of them.
1 · The model
How SSH (bash) is modelled
1 plane, 7 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.
Account One account is one host reached over SSH with a key pair generated by this gateway and a pinned host key.
Plane · hostOne remote host reached over SSH with the key pair of the account. The host is a black box : every operation is a shell command, and the security boundary on the host side (sudoers, file ACLs, the login user) still applies.
host[vps-1.example.com]). Labelled dev / staging / prod by its owner ; the label qualifies the write risks.R for each simple command on the read allow-list, W for any other ; a line the classifier cannot see through is W with every marker and never R. Always cardinality one at the call site./etc/shadow, /root/…, .ssh/…, .aws/…, .env, a private key, a raw device) or a path the classifier cannot see (an expansion, a parent segment, a recursive grep, docker inspect). Emitted as an extra R slice.destructive 1destructive: Marker : recursive or forced delete, disk-level tool, reboot or shutdown, account deletion, firewall flush, journal vacuum, Docker prune.package 1package: Marker : a system package manager in a mutating mode, or a global npm / pnpm / yarn / pipx install.service 1service: Marker : service or process lifecycle — systemctl verbs, service, Docker / Compose lifecycle, pm2, supervisorctl, nginx -s, kill.privilege 1privilege: Marker : the simple command runs through sudo, su, doas or pkexec and is not a whitelisted inspection verb.1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment
Account
One account is one host reached over SSH with a key pair generated by this gateway and a pinned host key.
Resource
That host is its single resource, labelled dev, staging or prod by its owner. The one tool runs a shell command line: inspection commands are reads, everything else is a write, and destructive commands, package changes, service control and sudo are permissions of their own.
Environment
- Rule
- The environment is the label the owner of the account puts on each resource. A permission tied to an environment is held once per label, and is refused on a resource that has no label or a label the permission does not list.
- Known
- devstagingprod
- Carried by
host.host
2 · Macro-actions
What an agent does at SSH (bash): 3 macro-actions
A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.
- 1
Look
Read-only commands, credential files included.
Inspecting the host with the commands of the read allow-list: logs, files, processes, disks and sockets, alone or piped together. Nothing on the host changes. Reading a file that holds credentials, such as a private key, an env file or the shadow file, is a permission of its own, and so is any path the classifier cannot see.
2 permissions
- 2
Fix
Write, restart and destroy.
Running commands that change the host: editing files, building, launching scripts, restarting services. Any command outside the read allow-list is a write, and a line the classifier cannot see through needs every permission at once. Service control is kept apart because a restart interrupts whatever depends on the service, and destructive commands (a recursive delete, a disk wipe, a reboot) because nothing brings back what they remove.
3 permissions
- 3
Install
Packages and sudo.
Changing what is installed on the host and acting as another user. A package install, removal or upgrade changes what runs for every service and brings in code from outside. A command run through sudo, su or doas does whatever it does as root, so both come on top of the write permission.
2 permissions
3 · The map
The map
7 permissions of 3 macro-actions, in the four rows of the tree. For the chosen trust level and environment (ssh[prod].…ssh[staging].…ssh[dev].…), each cell gives yes, ask me or no, and the quota a day.
A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.
| Risk | LookRead-only commands, credential files included. | FixWrite, restart and destroy. | InstallPackages and sudo. |
|---|---|---|---|
| Cannot be repaired Careful: no. Trusting, Autonomous: ask me. | None |
| None |
| Repairable, at a price Careful, Trusting: ask me. Autonomous: runs freely. | None |
|
|
| Worth a look Careful: ask me. Trusting, Autonomous: runs freely. |
|
| None |
| Harmless Runs freely at every level. |
| None | None |
Careful on prod: runs freely 1, ask me first 4, not included 2. Careful on staging: runs freely 1, ask me first 5, not included 1. Careful on dev: runs freely 1, ask me first 5, not included 1. Trusting on prod: runs freely 3, ask me first 4. Trusting on staging: runs freely 3, ask me first 4. Trusting on dev: runs freely 3, ask me first 4. Autonomous on prod: runs freely 5, ask me first 2. Autonomous on staging: runs freely 6, ask me first 1. Autonomous on dev: runs freely 6, ask me first 1. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.
Held once, whatever the host: Run a whitelisted read-only command; Read a credential-bearing file. Every other permission is held once per environment. In another row on prod: Run an arbitrary shell command.
4 · A few calls
A few calls, classified by the plugin
6 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action and the first the catalog refuses at Careful. The 6 calls, as code.
| The call | The plugin sees | The catalog answers | A Careful mission |
|---|---|---|---|
ssh__ |
|
| yes |
ssh__ |
|
| ask me |
ssh__ |
|
| no |
5 · Anything else
Anything else
A call no permission covers touches ssh. instead of slipping through. No macro-action holds it; a person ticks it knowingly.
| Permission | Risk | Careful ×1 | Trusting ×3 | Autonomous ×10 |
|---|---|---|---|---|
Uncategorized SSH writeWhy it sits here: Catch-all for writes without a dedicated entry. Every write of the single ssh__exec tool is covered by exec-write ; this entry exists for tools added later (an ssh__sftp_put, say) and is in no macro-action. ssh.uncategorized-write | Repairable, at a price costly to undo | ask me · 50 a day | ask me · 150 a day | yes · 500 a day |
6 · Tools
Tools
1 tool. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.
1 tool · scroll the list
| Tool | What it does | Usually touches |
|---|---|---|
ssh__ | Run a shell command on a host | ssh., ssh., ssh., ssh., ssh., ssh., ssh. |
7 · Connecting an account
Connecting an account
1 of 3 · a key you create and paste ssh-key
The instance generates a key pair; the person installs its public key on the host. Nothing secret is pasted.
- The connect page asks
- Host, Port, Login user and Host key fingerprint
- Disconnecting
- Remove the public key shown on this page from the authorized_keys file of the login user on the host.
8 · Health
Health
18 gateways run this plugin (over the last 90 days).
| Version | Gateways | Calls | Success | Validated |
|---|---|---|---|---|
2. | 3 | 87 | 88.5 % | |
2. | 7 | 229 | 100.0 % | validated |
2. | 5 | no call yet | — | |
2. | 5 | no call yet | — |
A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.
Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.
9 · Links
Links
Last changed 2026-12-02. This page as Markdown: /plugins/ssh.md