Administer
Ad hoc commands
One command, up to 500 SSH accounts, outputs side by side. Every target is a recorded connection of its own.
Run a command#
- Open Workspace → Ad hoc commands.
- Pick accounts in the tree of what you may reach: one by one, a whole folder at any depth, or everything shown, up to 500. Search by name or address.
- Type the command, up to 4,096 bytes, and run it. Each account's shell runs it without a terminal and without input, as
ssh host 'command'would. - Follow each target: waiting, running, exit code, refused with the reason, error. Show all outputs, or only failures and refusals. Stop what is still running if needed.
The rules#
- Access: the same as a shell. Each account must be allowed with the
connectaction; accounts that only allow file transfers cannot be picked. - Command policies are checked when the run is created, so refused targets are not even opened, and again by the gateway before the command is sent.
- Once per target: the command runs once on each target, even if the page is reloaded.
- Recorded: each target's output is recorded like any SSH channel, and appears in the sessions and commands of the audit.
The page shows 64 KiB of output per target; the recording keeps everything.
History#
Your runs stay in the history, with each target's outcome. Auditors see every run of the organization, with links to each connection's commands and recording.