Skip to content

Selecting many items

ZestSSH 3.4 selects the same way on every list: Hosts, Keys, Snippets and Port forwarding. Pick several items, then act on all of them at once: edit many hosts, open many sessions, move or copy them to a team’s vault, or delete them.

  • Choose Select at the top of the list (beside Active first on the Hosts page). It says Selecting while you select; choose it again to stop.
  • Or hold Ctrl (Cmd on a Mac) and click an item. Selecting starts with it, and with the item open beside the list, if there is one.
  • On the Hosts page you can also right-click a host and choose Select, or drag a box from an empty part of the page around the hosts you want.

While you select:

  • A click, or the box on an item, puts it in or takes it out.
  • Ctrl+click (Cmd+click) adds an item or takes it out.
  • Shift+click selects every item from the one you clicked last, in the order the list shows them. With Ctrl (Cmd) held too, the range is added to what you had.
  • Ctrl+A (Cmd+A) selects every item the list shows, after its search and filters.
  • Delete (on a Mac, Backspace too) deletes the selected items, after one question.
  • Esc stops selecting.

Ctrl+A and Delete do nothing while you type in a field, such as the search, where they edit the text.

At the head of the list, a box selects every item shown, or none (it shows a dash when only some are), with “All 42 selected” or “2 of 6 selected” and Clear selection.

The selection bar sits at the foot of the list. Over it, the keys are spelled out: “click to add”, “click for a range”, “selects what is shown” and “clears”. Click the count (“3 selected”) to select every item shown (for example Select all 42) or Select none. The × at the end, or Esc, stops selecting.

  1. Long-press an item. Selecting starts with it.
  2. Tap other items to add them, or tap a selected one to take it out.

The top bar says how many are selected and has Select all shown, which adds every item the search shows. If the search hides a selected item, a line says so, for example “1 selected host is hidden by search”, with Show, which empties the search. The close button at the top, or the back button, stops selecting.

While you select, the tab bar at the foot becomes the selection’s actions. It works the same for:

  • Hosts on the Hosts tab,
  • Keys and Port forwards on the Manage tab (and the Keys and Port forwarding pages of a tablet). Changing to the other part of the Manage tab ends the selection,
  • Snippets on the Snippets page (a tablet’s Snippets tab).

In a session, the snippet list stays a picker: a long press on a snippet opens its own menu, as before.

A long press used to open an item’s own menu. To reach it now, long-press the item and, with only that one selected:

  • a host: tap More, then Host actions,
  • a key: tap Key actions,
  • a snippet: tap Snippet actions.

On a tablet with a mouse, a right-click on a host still opens its menu.

List On a computer’s bar On a phone’s tab bar
Hosts Edit…, Open…, Tags, Move to group, More actions (Pin, Save as workspace, Icon color, Move to…, Copy to…), Delete Edit, Open, Tags, Move, More (Pin, Move to…, Copy to…, Delete)
Keys Move to…, Copy to…, Delete the same, and Key actions with one key
Snippets Move to category…, Move to…, Copy to…, Delete Category, Move to…, Copy to…, Delete, and Snippet actions with one snippet
Port forwards Start, Stop, Move to…, Copy to…, Delete the same

Move to… and Copy to… show only where there is somewhere for the items to go: a team’s vault you can add to, or Personal. See Move and copy between vaults. For one saved item, the Move or copy button at the top right of its editor does the same (ZestSSH 4.0).

On a computer you can also right-click a selected host for the same actions, headed with how many are selected.

Edit… opens Edit 42 hosts at the right of the Hosts page: “Every field starts as it is now. Only the fields you change are written.” Tags and Move to group on the bar open it at that field. On a phone, Edit, Tags and Move open it as a sheet.

Each field shows what the hosts have now, for example “Keep · root on 30, admin on 12”, “22 on all 42”, “3 different keys” or Mixed.

Connection

  • Username: shown, not changed here. “The username comes with the key each host signs in with: change Signs in with to change it.”
  • Port: for every host that has an address (not a local shell).
  • Signs in with: a key, or None. Only SSH, SFTP only, Mosh, Eternal Terminal and serial hosts take it. As in the host editor, the key chosen stops being one of the host’s other accounts, and with None, a host’s first other account takes the key’s place.
  • Jump host: a host to go through, or Direct. SSH and SFTP only hosts take it. A selected host is never offered as the jump host, nor a host that would make a loop. Like the host editor’s, it is a Squeezed feature.

Security

  • Compatibility mode: Off, On for the 3 that need it or On for all 42. Only SSH, SFTP only and serial hosts take it. Turned on, it says what it costs: “Lets old servers connect with weak key exchange that is easier to break. Use it only for servers you can’t update.” It names the hosts that refused a connection for an old key exchange: “Refused for an old key exchange: web-01, web-02”. Such a host also says Old key exchange in the list while its Compatibility mode is off, until it connects or ZestSSH is closed. On a phone, where every host would be turned on alike, the field is a switch.

Organize

  • Where (ZestSSH 4.0.1): where the hosts are, for example “Personal on all 42” or “Acme / Staging on 30, Acme / Production on 12”, with Move to… and Copy to…. They open the same place picker as Move to… on the bar, with the same team rules; see Move and copy between vaults. A move is not one of the changes Apply writes: while another field is changed, the two buttons wait (“Apply or cancel the changes above first: a move or a copy does not take them.”), and once any host has gone, the editor and the selection close. The field shows only where there is somewhere for the hosts to go.
  • Group: a group, or Ungrouped.
  • Tags: Add, Remove or Replace, then type the tags (“Type a tag, then Enter”). Replace with no tags typed takes every host’s tags off, and says so.
  • Color label.

A field you change says Changed, with Keep as is to undo that field. The foot counts your changes (“2 changes”) and has Cancel and Apply to 42 hosts. Every change is written in one go, so sync carries it as one change, and only to the hosts whose kind has that field. ZestSSH then says, for example, “40 hosts changed. 2 skipped.”, with Undo, which puts back what each host had. Esc closes the editor first, then the selection.

  • Only keys and jump hosts that every selected host’s vault can use are offered: “Only keys and jump hosts that every selected host’s vault can use are offered.”
  • A host in a vault where your role only connects is not changed. On a computer, while you select, its card says Connect only, and the editor says, for example, “2 hosts will be skipped” and “web-01, web-02 are in Production, where your role can only connect.”, with Unselect them.
  • If the vault still refuses the change, nothing at all is written.

Open… on a computer opens a session to each selected host, in the order the list shows them:

  • Up to 8 hosts: In tabs (“One tab for each host”) or In split panes (“One tab, the hosts side by side (up to 8)”).

  • More than 8: ZestSSH asks Open 42 sessions?: “Connecting to this many at once can trip fail2ban or connection limits on your servers.”

    • In tabs, 5 at a time (the first choice): “Each batch connects once the last one has. Servers never see 42 logins at once.” A batch waits for the one before it to connect or fail, for a minute at most.
    • Split panes, up to 8 per tab: “For watching several at once. Broadcast typing stays off until you turn it on.”
    • All at once: “Fastest, and the most likely to get you rate-limited.”

    Choose Open 42, or Cancel.

On a phone, Open asks the same past 8 hosts, without split panes. If any selected host uses Telnet, ZestSSH asks about it once. On the Free plan, hosts past the session limit (5 on a computer, 3 on a phone) are not opened, and ZestSSH names them, for example “Not opened: web-07. The free plan opens 5 sessions at a time.”

Delete asks once for the whole selection, in red, for example Delete 3 keys?:

  • Hosts: “Delete 3 hosts? This cannot be undone.”
  • Keys: “These 3 keys will be removed from every host that uses them. The change is permanent.” Hosts that used them fall back to signing in with a password, and no private key file on the device is touched.
  • Snippets: “These 3 snippets will be removed. A workflow with a step that runs one of them stops at that step the next time it runs, with an error naming the snippet.”
  • Port forwards: “These 3 port forwards will be removed. Those that started by themselves will no longer open with future sessions on their hosts.”

Then it says “Deleted 3 keys.” Each item is deleted whole or not at all.

In a team’s vault, only what your role may delete goes. The question says how many stay, for example “1 of the selected stays: your role may not delete it here.” An item the vault refuses is named afterwards (“Deleted 2 of 3. Not deleted: deploy-key”). What was not deleted stays selected. Where your role may delete none of them, Delete is off.

Move to category… (Category on a phone) moves the selected snippets to one of your categories, to No category, or to a New category… you name there. ZestSSH says, for example, “Moved 3 snippets to Deploy.” In a team’s vault, only the snippets your role may change move.

Start starts the selected forwards that are stopped; Stop stops the ones running. Forwards whose host has no session are asked about once for all of them, for example Connect to 2 hosts?: “3 port forwards need a session to their host. ZestSSH connects to each host, then starts them.” Connect & start connects to each host once and starts its forwards.