Skip to content

Keyboard shortcuts

ZestSSH on a computer has keyboard shortcuts you can change (29 on Windows and macOS from 4.0, with Speech to text; 28 on Linux), a few fixed keys, and on macOS a menu bar with its own Cmd keys. This page lists them all, then what a keyboard does on a phone or tablet.

  • Windows and Linux: the keys are exactly as listed (Ctrl is the Control key).
  • macOS: the shortcuts you can change match the keys they are bound to, and the defaults use the Control key (⌃), not Cmd. So the default Command palette key on a Mac is ⌃⇧K. Settings shows the Mac symbols (⌃ ⌥ ⇧ ⌘). The macOS menu bar adds Cmd keys for many of the same actions: see macOS menu bar.
  • While you type in a terminal, the app takes only five shortcuts: Command palette, Lock ZestSSH, Close tab, Toggle broadcast mode and Find in terminal, and on Windows and macOS a sixth, Speech to text, plus the terminal’s own copy, paste and select-all keys. Every other key goes to the shell, so programs like bash, vim, tmux and htop get their Ctrl and Alt keys. To use another shortcut, click outside the terminal first, or run the action from the command palette.
  • While Settings is open, no shortcut acts on the window behind it, except Lock ZestSSH.
  • On an iPad with a keyboard, Cmd works wherever a shortcut uses Ctrl, and the menus show the Apple signs.
  • Option on a Mac: in a terminal, Option types the characters of your keyboard layout until you turn on Option key as Meta (Settings > Keyboard and mouse). Then Option with a key sends Esc and that key, for the Alt shortcuts of shells and editors. On Windows and Linux, Alt always works as Meta.
  1. Open Settings (the gear in the side rail, or Ctrl+,).
  2. Choose Keyboard and mouse. You can also get there from the command palette or Help (Keyboard shortcuts).
  3. Scroll past Mouse (and, on a Mac, Keyboard) to Keyboard shortcuts, which says how many there are, for example “28 shortcuts across general, tabs, panes and terminal”.
  4. Click the key of a shortcut (its tooltip says Click to change). The Rebind: dialog, named for the shortcut, says “Press the new key combination.”; press Esc to cancel, or Save to keep it.
  5. If the keys are already used by another shortcut, ZestSSH says so (“…” is already used) and Use anyway clears the other binding.

Each row also has Reset to default and Unbind; a changed shortcut is marked CUSTOM. Reset all puts every shortcut back to its default after asking (Reset all shortcuts?). Use Search shortcuts to find one.

The defaults, grouped as in Settings’ Keyboard shortcuts section. On a Mac, read Ctrl as the Control key (⌃).

Shortcut Default Notes
Command palette Ctrl+Shift+K Also Ctrl+Shift+P. On a Mac also Cmd+Shift+K (while the default is kept) and Cmd+Shift+P. Works inside a terminal.
Quick connect Ctrl+T Open the connect-to-host dialog
New connection Ctrl+Shift+N Add a saved host
Settings Ctrl+,
Toggle fullscreen F11
Lock ZestSSH Ctrl+Shift+L Locks the app now, while the app lock is on. Works inside a terminal, in Settings and in dialogs. Ctrl+L alone stays the terminal’s.
Support Hub F1 Opens the Support Hub, and goes back from it. Inside a terminal F1 goes to the program there.
Shortcut Default Notes
Close tab Ctrl+Shift+W Works inside a terminal. Plain Ctrl+W goes to the shell (delete a word, or nano’s search).
Reopen last closed tab Ctrl+Shift+T
Next tab Ctrl+Tab
Previous tab Ctrl+Shift+Tab
Shortcut Default Notes
Toggle sidebar Ctrl+B Collapse or expand the side rail
Toggle Hosts panel Ctrl+Shift+H
Split right Ctrl+Shift+D
Split down Ctrl+Shift+E
Close split Ctrl+\
Maximize pane Ctrl+Shift+M Press again to restore

Pane arrangements have no keys of their own: choose them from Layout in the session header, or from the command palette. See Layouts.

Shortcut Default Notes
Find in terminal Ctrl+Shift+F Works inside a terminal. Esc closes the find bar.
Copy Ctrl+Shift+C
Paste Ctrl+Shift+V
Zoom in Ctrl+= The number pad’s + works too
Zoom out Ctrl+- The number pad’s - works too
Reset zoom Ctrl+0 Back to 14 px. The number pad’s 0 works too.
Open tmux Ctrl+Shift+X Attach to a tmux session on the active connection, or start one
Speech to text Ctrl+Shift+Space Windows and macOS, from 4.0, with Squeezed. Starts and stops typing what you say; works inside a terminal, and never presses Enter. Not on Linux. See Speech to text
Shortcut Default Notes
Toggle SFTP panel Ctrl+Shift+S
Toggle session info Ctrl+Shift+I Open or close the session’s Inspector
Toggle broadcast mode Ctrl+Shift+B Works inside a terminal, so you can turn broadcast off from where you type
Toggle recording mode Ctrl+Shift+R Masks host names, addresses and keys on screen
Shortcut Default Notes
Show display 1 to Show display 4 Alt+1 to Alt+4 (Control+Option+1 to 4 on a Mac, where Option and a digit types a character) From 4.0. In a remote screen with several displays, show that display, in its tab, in full screen or in its own window. The screen takes the key before the remote does; with one display it goes to the remote.

These are not rebindable.

Keys Action
Ctrl+1 to Ctrl+9 Jump to tab 1 to 9 (not with Alt held)
Alt+Left / Right / Up / Down Move between panes (Option on a Mac)
Ctrl + mouse wheel Zoom the terminal font in or out, on every system (Control on a Mac)
Esc Close the find bar
Shift+Page Up / Shift+Page Down Scroll the terminal’s history a page up or down. While a full-screen program runs (vim, less, tmux), the keys go to it instead. On a phone or tablet with a hardware keyboard too.

On the Hosts, Keys, Snippets and Port forwarding pages. See Selecting many items.

Keys Action
Ctrl+click (Cmd+click on a Mac) Add an item to the selection or take it out. Starts selecting
Shift+click Select every item from the one clicked last. With Ctrl (Cmd) too, add them to the selection
Ctrl+A (Cmd+A) Select every item the list shows. Not while you type in a field
Delete (on a Mac, Backspace too) Delete the selected items, after one question. Not while you type in a field
Esc Stop selecting. On the Hosts page, Esc closes the editor of many hosts first

Copy, paste and select all inside a terminal

Section titled “Copy, paste and select all inside a terminal”
System Copy the selection Paste Select all
Windows, Linux Ctrl+Shift+C Ctrl+Shift+V Ctrl+Shift+A
macOS Cmd+C or Ctrl+Shift+C Cmd+V or Ctrl+Shift+V Cmd+A or Ctrl+Shift+A

If you change Copy or Paste in Settings, the terminal uses your keys instead of Ctrl+Shift+C or Ctrl+Shift+V. A Copy key other than Ctrl+Shift+C copies only while something is selected; with nothing selected the key goes to the shell, so Ctrl+C bound to Copy still stops a program.

Plain Ctrl+A, Ctrl+C and Ctrl+V always reach the shell (start of line, interrupt, and the next key as typed).

Every paste goes through the same checks: if the text would run as soon as it arrives, or looks dangerous while Dangerous command protection is on, ZestSSH asks first. Where the program in the terminal asks for bracketed paste, the text arrives as one block and nothing runs until you press Enter. See Keyboard customization.

On macOS, ZestSSH has a menu bar. Its Cmd keys are fixed (they do not follow the Keyboard shortcuts page).

Menu Item Keys
ZestSSH About ZestSSH
ZestSSH Settings Cmd+,
ZestSSH Services, Hide, Hide Others, Show All (the system’s own)
ZestSSH Quit ZestSSH Cmd+Q
File Quick connect Cmd+T
File New connection Cmd+Shift+N
File Import hosts
File Import SSH config…
File Close tab Cmd+W
File Reopen closed tab Cmd+Shift+T
Edit Copy Cmd+Shift+C
Edit Paste Cmd+Shift+V
Edit Find in terminal Cmd+Shift+F
View Command palette Cmd+K
View Zoom in / Zoom out / Reset zoom Cmd+= / Cmd+- / Cmd+0
View Toggle fullscreen Ctrl+Cmd+F
View Toggle always on top
Terminal Split right / Split down Cmd+Shift+D / Cmd+Shift+E
Terminal Close split
Terminal Toggle SFTP panel Cmd+Shift+S
Terminal Toggle broadcast mode Cmd+Shift+B
Window Minimize Cmd+M
Window Zoom, Bring all to front
Help Open Support Hub, Report a bug, Suggest a feature, Get help, My tickets
Help Recording mode, Copy redacted screenshot
Help Documentation, FAQ, Keyboard shortcuts, Discord community, What’s new

Keyboard shortcuts in the Help menu opens the Keyboard and mouse page of Settings.

Action Effect
Select text Copies it, when Copy on select is on (default on; Settings > Terminal and SSH)
Right-click Pastes, when Right-click paste is on (default on; Settings > Keyboard and mouse)
Middle-click Pastes, when Middle-click paste is on (default on; Settings > Keyboard and mouse)
Ctrl + mouse wheel Zoom the terminal font
Drag a tab Move it in the tab strip
Click or drag in a program that asks for the mouse Sent to the program (tmux, vim and htop, for example), drags included
Shift + drag, Shift + right-click, Shift + middle-click Yours even while a program has the mouse: Shift and a drag selects (and copies), Shift and a right or middle click pastes (the clicks from 4.1.1)

Remote copy to clipboard (OSC 52) lets tmux, Vim and Neovim on the remote host put text on your device’s clipboard. It is off by default, because with it on the host decides what your next paste contains. Reading your clipboard is never allowed. On a computer and on a phone it is in Settings > Terminal and SSH.

Gesture Action
Two-finger tap Send Ctrl+C
Three-finger tap Paste the clipboard
Two-finger horizontal swipe Switch to the next or previous session
Pinch Change the font size
Long press Open the terminal menu

A keyboard paired with an Android phone or tablet, an iPhone or an iPad types into the terminal as it does on a computer:

Keys Result
Letters, digits, Enter, Backspace, Tab, Esc Sent to the shell as typed
Ctrl + letter (Ctrl+C, Ctrl+D, Ctrl+R and so on) Sent as the control character
Alt + key (Option on an iPhone or iPad) Sent with the Alt (meta) prefix. On an iPhone or iPad, Option key as Meta (in More > Settings > Keyboard and mouse, on by default) decides it: off, Option types special characters.
Arrows, Home, End, Page Up, Page Down, Insert, Delete, F1 to F12 Sent as terminal escape sequences, so they work in vim, less, htop and tmux

Copy, paste and select all:

Device Copy the selection Paste Select all
Android Ctrl+Shift+C Ctrl+Shift+V Ctrl+Shift+A
iPhone, iPad Cmd+C or Ctrl+Shift+C Cmd+V or Ctrl+Shift+V Cmd+A or Ctrl+Shift+A

Plain Ctrl+A and Ctrl+V reach the shell.

On a large tablet with the computer’s layout (see Tablets and large screens), every shortcut above works, with Cmd in place of Ctrl on an iPad. On a phone, and on a tablet with the phone’s tabs, a few of the computer’s default keys work too, with Cmd in place of Ctrl on an iPhone or iPad (next and previous session keep Ctrl, since Cmd+Tab is the system’s app switcher). They cannot be changed, and they do not act while you type in a text field such as a search:

Action Android iPhone, iPad Where
Next session Ctrl+Tab Ctrl+Tab In a session
Previous session Ctrl+Shift+Tab Ctrl+Shift+Tab In a session
Find in terminal Ctrl+Shift+F Cmd+Shift+F In a session; on the Hosts tab it puts the keyboard in the quick connect field
Zoom in, zoom out, reset zoom Ctrl+=, Ctrl+-, Ctrl+0 Cmd+=, Cmd+-, Cmd+0 In a session
Close the session Ctrl+Shift+W Cmd+Shift+W In a session, asking first
New connection Ctrl+Shift+N Cmd+Shift+N In a session and on the Hosts tab
Quick connect Ctrl+T Cmd+T In a session and on the Hosts tab. On Android, Ctrl+T typed in the terminal goes to the shell.
Settings Ctrl+, Cmd+, In a session and on the Hosts tab

On a phone, and on a tablet with the phone’s tabs, the tabs, splits, the command palette and the other computer shortcuts above have no keys; those actions are on the touch controls.

With a mouse on a phone or tablet, a right click pastes while nothing is selected, and otherwise opens the terminal’s menu where you clicked. A middle click pastes. Both are switches under Mouse in Settings > Keyboard and mouse, on by default.

  • Extra keyboard row (Settings > Keyboard and mouse): the row of Esc, Tab, Ctrl, Alt, arrows and more above the on-screen keyboard. Its own page sets where it shows, which keys it has, and whether it hides while you type on a hardware keyboard (Hide it automatically, the default, or Always show it), or turns it off.
  • Volume key shortcuts (Android only, Settings > Keyboard and mouse): the volume keys send Page Up and Page Down in the terminal. Off by default.