Workspaces
A workspace is a saved set of tabs: each tab’s name and color, how its panes are arranged, and which host each pane shows. Instead of opening your five production hosts and arranging them again every morning, you save that set once as a workspace, for example “Production stack”, and open it whenever you need it.
Workspaces are a computer feature (Windows, macOS, Linux).
What a workspace saves
Section titled “What a workspace saves”When you save, ZestSSH takes the tabs you choose: This tab, All tabs, or the tabs and panes you pick. For each tab it keeps:
- the tab’s name, if you gave it one,
- the tab’s color,
- how its panes are arranged, with the sizes you gave them,
- the saved host behind each pane.
The save dialog puts it this way: “Pane sizes and tab order are saved. Passwords and keys are not copied; the workspace points at your existing hosts.”
A tab with a pane that is not a saved host, such as a quick connection you never saved, is left out. The other tabs are saved.
A workspace opens new sessions, so it does not bring back what was on screen: no scrollback, no running programs, nothing typed.
Save a workspace
Section titled “Save a workspace”- Open the hosts you want, and arrange them in tabs (see Pane layouts).
- Right-click any tab and choose Save layout as workspace…. Once you have a workspace, you can also choose Save current layout in the Workspaces section of the Hosts page or of the Hosts list beside your terminals.
- In Save layout as workspace, type a Name, for example “Production stack”.
- Choose what goes in it. This tab is chosen at first, the tab you are in. All tabs takes every open tab. Choose tabs… lists the open tabs with their panes: tick the tabs and panes you want, or use Select all, Select none and the buttons By group. A pane that is not a saved host cannot be ticked, and says why.
- The preview under Saving shows the tabs, panes and hosts that will be saved.
- Choose Save, or press Enter. ZestSSH says “Workspace “Production stack” saved”.
If nothing chosen can be saved, the dialog says so and Save stays off.
If the tabs you have open came from a workspace, the dialog offers to update that one, and shows above the button what that saves: Update “Production stack” puts those tabs back in it as they are now, in place of making a new one.
If a pane of the workspace is not open (your plan’s limit left it closed, say, or you closed it), Update does not drop it without asking: a question names those panes, with Keep them and Remove them. Kept panes go back where they were.
Add a tab to a workspace
Section titled “Add a tab to a workspace”Right-click a tab and choose Add this tab to a workspace, then pick the workspace. The tab joins its tabs, with its name, color and arrangement; what the workspace had stays.
The command palette (Ctrl+Shift+K) has Save workspace too.
From hosts you pick
Section titled “From hosts you pick”You can also make a workspace from hosts you have not opened yet:
- On the Hosts page, pick the hosts (Ctrl+click, Shift+click, Ctrl+A or a box dragged around them; see Picking many hosts).
- In the bar at the foot of the page, choose Save as workspace.
- Name it and choose Save.
The hosts are laid out side by side in a grid, up to 8 in a tab; more hosts make more tabs.
Names are compared without regard to case. If another workspace has the name already, Save stays off and ZestSSH offers two ways out: Replace “Production stack” puts what is open now in that workspace, and Save as “Production stack 2” saves it under the first free name with a number.
Where your workspaces are
Section titled “Where your workspaces are”- The Hosts page: a Workspaces section above your hosts, once you have saved one. It is hidden while you search or filter. With more workspaces than fit in one row, Show all shows the rest.
- The Hosts list beside your terminals: a Workspaces section at the top. Click its heading to fold it. Typing in the list’s filter also finds workspaces by their name and by their hosts’ names.
On the Hosts page, each workspace shows its name, how many panes it has, when you last opened it (“never opened” until you do), and its first three hosts by name with the number of the others. The one you opened last is marked open now while any of its hosts has a session. If some of its hosts could not be reached at the last check, it says so, for example “2 hosts unreachable at last check”. In the Hosts list, each workspace shows its name, its tabs and panes, and its first three hosts.
On the Hosts page, a click on a workspace opens its panel at the right, as a click on a host does: its name, what it is, its tabs with their panes and hosts, Open workspace and Edit. Nothing connects until you ask.
Open a workspace
Section titled “Open a workspace”On the Hosts page, double-click the workspace, use the open button on its card, or choose Open workspace in its panel. In the Hosts list, click it or use its Launch button. In the command palette, Load workspace lists your workspaces (“Pick one to open its tabs and panes.”) and opens the one you click.
ZestSSH opens a new session for each terminal pane, so two panes on one host are two sessions, and builds each tab again, with its name, color and arrangement. An SFTP pane uses the session of a terminal pane on its host in the same tab, or opens its own where there is none.
- A host that was deleted since you saved keeps its place in the tab as an empty place to connect. The workspace still lists it by the name it had (in gray italics in the editor), or as Deleted host when no name was kept.
- A host that cannot be opened now, for example because the Free plan’s session limit is reached, keeps its place the same way.
- A tab with nothing left to open is skipped.
When some hosts could not be opened, ZestSSH names them, for example “Opened 2 tabs. Could not open: db-02”.
Change a workspace
Section titled “Change a workspace”Right-click the workspace to open its editor. On the Hosts page you can also use its Edit button, which opens the editor in the panel at the right (so does Edit in the panel), and in the Hosts list its More button.
In the editor you can:
- change its Name,
- drag panes to change their order (drag to reorder),
- remove a pane with Remove pane (one pane always stays),
- add a host with Add host to this workspace,
- choose Replace with current layout to throw away its panes and save what is open now instead (“Discards these panes, rebuilds from what’s open now.”). With no session open it says “Open a session to replace the panes.”
Choose Save to keep your changes, or Cancel. Each tab keeps its layout: a pane you remove gives its room to the pane beside it, and a host you add joins the last tab.
All workspaces, at the top of the editor, lists every workspace with Edit, Open and Delete. The workspace that is open now has no Open.
Delete a workspace
Section titled “Delete a workspace”- In the editor, choose Delete workspace: “Your hosts stay put; only the saved workspace goes. You get 10 seconds to undo.”
- At Delete this workspace?, choose Delete.
- ZestSSH says “Deleted “Production stack”. Hosts are unaffected.” Choose Undo within 10 seconds to bring it back.
Deleting a workspace never deletes a host.
Where workspaces are stored
Section titled “Where workspaces are stored”Workspaces are kept on this computer, in ZestSSH’s encrypted database. They are not synced to your other devices and are not part of a backup.
Free plan
Section titled “Free plan”Saving and opening workspaces is free. A workspace opens one session per host, and on the Free plan you can have up to 5 sessions open at once on a computer. Hosts past that are named as could not open. Squeezed has no session limit (see pricing).
Next steps
Section titled “Next steps”- Pane layouts to arrange the panes you save.
- Broadcast input to type into all the terminals of a tab at once.
- Server monitor to watch the hosts a workspace opens.
- SSH connections for the saved hosts a workspace opens.