Skip to the content
Vaubaan Gateway

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.

Version 2.0.6 · 7 permissions · 3 macro-actions · 1 tool · 18 gateways run this plugin (over the last 90 days).

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.

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. 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. 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. 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.

Trust level
Environment

yes runs freelyask me ask me firstno not included

Mild actions run freely; sensitive or costly ones ask first; irreversible ones are left out.Up to sensitive actions run freely; costly and irreversible ones ask first. Limits ×3.Everything but irreversible actions runs freely; those ask first. Limits ×10.

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.

SSH (bash) permissions by macro-action and row of the tree, with what the chosen trust level does and the quota a day
RiskLookRead-only commands, credential files included.FixWrite, restart and destroy.InstallPackages and sudo.
Cannot be repaired

Careful: no. Trusting, Autonomous: ask me.

None

  • Run an arbitrary shell command irreversibleWhy it sits here: Any simple command outside the read allow-list and any output redirection. File edits, builds, git operations, process launches, scripts : the program may do whatever its user can. A line the classifier cannot see through (command substitution, inline code, another host or container) needs this permission and every class permission below. On a dev or staging host the blast radius is the host ; on prod a write can shift the security posture or cause downtime, hence the override. ssh.exec-write

    noask me · 600 a dayask me · 2,000 a day

  • Destructive command (recursive delete, disk, reboot) irreversibleWhy it sits here: rm with -r or -f, mkfs, dd, shred, wipefs, partitioning tools, reboot / shutdown, userdel, firewall flushes, Docker prunes. Irreversible at the host level ; emitted together with exec-write. ssh.exec-destructive

    noask me · 30 a dayask me · 100 a daynoask me · 30 a dayask me · 100 a daynoask me · 30 a dayask me · 100 a day

None

Repairable, at a price

Careful, Trusting: ask me. Autonomous: runs freely.

None

  • Run an arbitrary shell command costly to undoWhy it sits here: Any simple command outside the read allow-list and any output redirection. File edits, builds, git operations, process launches, scripts : the program may do whatever its user can. A line the classifier cannot see through (command substitution, inline code, another host or container) needs this permission and every class permission below. On a dev or staging host the blast radius is the host ; on prod a write can shift the security posture or cause downtime, hence the override. ssh.exec-write

    ask me · 200 a dayask me · 600 a dayyes · 2,000 a dayask me · 200 a dayask me · 600 a dayyes · 2,000 a day

  • Install, remove or upgrade packages costly to undoWhy it sits here: System package managers (apt, dpkg, yum, dnf, zypper, apk, pacman, snap, brew, flatpak, rpm) in a mutating mode, global npm / pnpm / yarn installs, pipx. Changes what runs on the host for every service ; supply-chain exposure. Emitted together with exec-write. ssh.exec-package-install

    ask me · 10 a dayask me · 30 a dayyes · 100 a dayask me · 10 a dayask me · 30 a dayyes · 100 a dayask me · 10 a dayask me · 30 a dayyes · 100 a day

  • Privilege escalation (sudo, su, doas) costly to undoWhy it sits here: A non-whitelisted command run through sudo, su, doas or pkexec. Whatever the inner command does, it does as another user, usually root. Emitted together with exec-write and the inner command's classes. Inspection verbs the whitelist already admits under sudo (sudo journalctl, sudo systemctl status, sudo ss -tlnp) stay reads. ssh.exec-sudo

    ask me · 20 a dayask me · 60 a dayyes · 200 a dayask me · 20 a dayask me · 60 a dayyes · 200 a dayask me · 20 a dayask me · 60 a dayyes · 200 a day

Worth a look

Careful: ask me. Trusting, Autonomous: runs freely.

  • Read a credential-bearing file secret dataWhy it sits here: The read allow-list accepts cat <path> without filtering the path, so cat /etc/shadow, cat /root/.env or stat /home/<u>/.ssh/id_ed25519 are reads. The classifier recognises credential-bearing paths however they are spelled (.ssh/…, .env, private keys, /etc/shadow, /root, raw devices), and paths it cannot see (an expansion, .., a recursive grep, docker inspect, a line it cannot classify), and emits an extra slice, so a mission must hold this permission on top of exec-read to read them. Exfiltration of host credentials. ssh.exec-read-secret-files

    ask me · 50 a dayyes · 150 a dayyes · 500 a day

  • Start, stop or restart a service or process moderate costWhy it sits here: systemctl lifecycle verbs, service <x> restart, Docker and Compose lifecycle, pm2, supervisorctl, nginx -s, kill / pkill. Availability impact, reversible by starting again. Emitted together with exec-write. ssh.exec-service-control

    ask me · 20 a dayyes · 60 a dayyes · 200 a dayask me · 20 a dayyes · 60 a dayyes · 200 a dayask me · 20 a dayyes · 60 a dayyes · 200 a day

None

Harmless

Runs freely at every level.

  • Run a whitelisted read-only commandWhy it sits here: Inspection commands recognised by the read allow-list (journalctl, cat, ls, tail, head, grep, pgrep, ps, docker ps/inspect/logs, systemctl status, df, free, uptime, who, ss -tlnp, md5sum, stat) with their known read-only options, alone or piped together. No mutation. Logs and files may still contain secrets, which is why exec-read-secret-files exists next to it. ssh.exec-read

    yes · 2,000 a dayyes · 6,000 a dayyes · 20,000 a day

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 callThe plugin seesThe catalog answersA Careful mission
ssh__exec {"cmd":"uptime"}
  • ssh.host[vps-1.example.com].command.R
  • Run a whitelisted read-only command ssh.exec-read
yes
ssh__exec {"cmd":"touch /tmp/x"}
  • ssh.host[vps-1.example.com].command.W
  • Run an arbitrary shell command ssh.exec-write
ask me
ssh__exec {"cmd":"rm -rf /srv/app/releases/old"}
  • ssh.host[vps-1.example.com].command.W
  • ssh.host[vps-1.example.com].command.destructive.W
  • Run an arbitrary shell command ssh.exec-write
  • Destructive command (recursive delete, disk, reboot) ssh.exec-destructive
no

5 · Anything else

Anything else

A call no permission covers touches ssh.uncategorized-write instead of slipping through. No macro-action holds it; a person ticks it knowingly.

PermissionRiskCareful ×1Trusting ×3Autonomous ×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-writeRepairable, at a price costly to undoask me · 50 a dayask me · 150 a dayyes · 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

ToolWhat it doesUsually touches
ssh__execRun a shell command on a hostssh.exec-read, ssh.exec-read-secret-files, ssh.exec-write, ssh.exec-destructive, ssh.exec-package-install, ssh.exec-service-control, ssh.exec-sudo

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).

VersionGatewaysCallsSuccessValidated
2.0.638788.5 %
2.0.57229100.0 %validated
2.0.25no call yet—
2.0.15no 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.

Last changed 2026-12-02. This page as Markdown: /plugins/ssh.md