Snippets
Snippets are saved commands or short scripts. You can type one into a terminal with two clicks, or run it on many servers at once and see each server's output side by side.
The list on the left groups snippets by folder. Click one to edit it on the right; use the search box to find one by name, folder or content.
Creating a snippet
Press NEW SNIPPET and fill in:
- Name: e.g. Disk usage.
- Folder: optional, to group related snippets (e.g. Diagnostics, Deploy).
- Script: one or more lines of shell, exactly as you would type them.
Press Save. To change a snippet, edit it and Save again; Delete removes it.
You can also make one from a terminal: select the command in the terminal, then Snippets → New snippet… in its toolbar. The selection is already in the script; give it a name and Save, or Save and run to run it in that terminal right away.
Using a snippet in a terminal
In any terminal, press Snippets in the toolbar and choose the snippet. Its script is shown (from 5.1); then Run it — it is typed into the active pane and Enter is pressed for you — or Paste it at the prompt to change it first. With broadcast input on, it goes to every pane in the tab.
Running a snippet on many hosts
-
Select the snippet and press Run on… (save any changes first).
-
Tick the hosts to run it on.
-
Press Run on N hosts.
Each host gets its own output panel with a green tick (connected) or a red cross (could not connect, with the reason). The panel shows the output live and ends with the exit code.
Things to know:
- The hosts need saved credentials (an identity, key or password), because nobody is there to type a password. They also need a trusted host key (connect once in a terminal first).
- Snippets run in a non-interactive shell. Commands that wait for input (e.g.
sudoasking for a password) will hang until they time out. - Snippets and runs are personal: they only use hosts from your personal vault.
Getting started
Using Jumpdeck
- Hosts and groups
- Terminal
- SFTP file manager
- Keychain
- Vault and security
- Sharing hosts
- Team vaults
- Snippets
- Port forwarding
- Remote desktop
- Built-in browser
- Databases (MySQL, MariaDB, PostgreSQL)
- Serial connections (desktop app)
- Known hosts
- Logs and recordings
Reference
Jumpdeck user guide · written for v3.1.9 · Repository · Releases · Report a problem



