Windows native integration
ZestSSH on Windows works with the system through the zestssh:// link scheme, the system tray, the Windows SSH agent pipe, WSL, and an Inno Setup installer.
zestssh:// links
Section titled “zestssh:// links”The installer registers the zestssh:// scheme, so a link in a browser, a script or another app can open ZestSSH. Only one ZestSSH runs in your Windows session: when ZestSSH is already open, a link you open goes to it, and its window comes to the front, also from the tray or from minimized. When ZestSSH is not running, the link starts it.
Supported links
Section titled “Supported links”| Link | What it does |
|---|---|
zestssh://connection/new |
Opens the form for a new host |
zestssh://connection/edit/<id> |
Opens that host’s editor |
zestssh://import/ssh-config |
Opens the import of an SSH config file |
zestssh://snippets |
Opens Snippets |
zestssh://identities |
Opens Keys |
zestssh://settings |
Opens Settings |
zestssh://profile |
Opens Settings at Account |
zestssh://upgrade |
Opens the upgrade page |
zestssh://connect?id=<id> or zestssh://connect?name=<name> |
Opens a saved host of your personal space, after asking |
zestssh://connect?host=<address>&user=<user>&port=<port> |
Opens Quick connect with that host typed in, for you to connect or not |
zestssh://execute?connection=<id>&command=<command> |
Runs a command on a host, after asking |
zestssh://snippet?connection=<id>&name=<name> |
Runs a saved snippet on a host, after asking |
zestssh://batch?connections=<id>,<id>&command=<command> |
Runs a command on several hosts, after asking |
zestssh://workflow?name=<name> |
Runs a saved workflow, after asking |
zestssh://auth/callback |
Opens Settings at Account. It signs nothing in: on a computer, sign-in comes back to the app on 127.0.0.1 |
zestssh://share?d=<data> |
Adds a host someone shared with you, after asking. Its port forwards never start by themselves |
zestssh://join#<code> |
Opens Join a team with that invite code typed in. Nothing happens until you go on (see Join a team with a code) |
For the automation links (execute, snippet, batch, workflow) and their parameters, see Automation.
Every link that acts asks first
Section titled “Every link that acts asks first”Any web page can open a zestssh:// link, so nothing that connects or runs opens without your say:
- Opening a saved host asks Connect to {host}? with the address, and connects only when you click Connect.
- Quick connect only fills in the host. You connect or not.
- Running something asks Run this from a link?, shows what would run and where, and runs only when you click Run: “Run it only if you opened this link yourself.”
- While ZestSSH is locked, a link waits until you unlock it. Its question never shows over the lock screen.
- With recording mode on, ZestSSH asks you to turn it off first, so the question shows what really runs.
Registration
Section titled “Registration”The installer writes the scheme under HKCU\Software\Classes\zestssh, for your Windows account only, and the uninstaller removes it. No administrator rights are needed.
Limits
Section titled “Limits”A link longer than 2,048 bytes is refused, and so is a link with any parameter longer than 256 characters. A host’s share link (zestssh://share) may be up to 12 KiB long, since it carries the host’s details.
Background connections and the system tray
Section titled “Background connections and the system tray”Windows needs no foreground service or notification to keep the app running, as Android does. Sessions stay connected for as long as ZestSSH runs, whether its window is in front, minimized or hidden.
Close to system tray
Section titled “Close to system tray”Turn on Settings > General > Close to system tray (off by default): “Closing the window hides it in the tray. Sessions stay connected. Quit from the tray icon to exit.”
Confirm before closing the window, in the same place, asks before the window closes while sessions are open.
The tray menu
Section titled “The tray menu”Click the tray icon to show the window. Right-click it for its menu:
- How many sessions are open (“2 active sessions” or “No active sessions”).
- With hosts in Server Monitor, their health (“All monitored hosts healthy”, or how many are critical or warning).
- Show window
- Quick connect: opens Quick connect.
- Connect to: a submenu of your monitored hosts, to connect to one directly.
- Quit ZestSSH
The tray icon changes while a monitored host is critical, and its tooltip says how many sessions are open and how many hosts are critical.
SSH agent on Windows
Section titled “SSH agent on Windows”ZestSSH talks to the Windows OpenSSH agent over its named pipe, \\.\pipe\openssh-ssh-agent.
- The system agent is the Windows “OpenSSH Authentication Agent” service. If it is stopped, the hardware key dialog (Keys > Connect via ssh-agent) offers Start agent: Windows shows a UAC prompt, and the service is set to start with Windows and started. ZestSSH writes no script for this; it runs its two commands as administrator from the command line.
- 1Password and Bitwarden take over that same pipe. “On Windows, {name} answers on the OpenSSH agent pipe: the Windows “OpenSSH Authentication Agent” service must be off.” Only one of them can answer at a time.
See SSH agent.
Mosh and Eternal Terminal through WSL
Section titled “Mosh and Eternal Terminal through WSL”On Windows, Mosh and Eternal Terminal run inside WSL (Windows Subsystem for Linux). Install WSL and Mosh there first (wsl --install, then wsl apt install mosh); ZestSSH then runs it through WSL by itself. When a host signs in with a key, the key is written inside WSL, readable by your WSL account alone, and removed when the session ends. See Mosh and Eternal Terminal.
Every Windows program ZestSSH starts (such as wsl, reg, explorer, PowerShell, ssh-add) is started from where Windows keeps it, never from the current folder.
Inno Setup installer
Section titled “Inno Setup installer”ZestSSH for Windows comes as an Inno Setup installer (.exe).
What the installer does
Section titled “What the installer does”- Registers the
zestssh://scheme for your account. - Offers these tasks: Start Menu shortcut (on), Desktop shortcut, Add ZestSSH to PATH (run
zestsshfrom any terminal), and Launch ZestSSH automatically when Windows starts (these three off). - Installs the Visual C++ runtime files the app needs next to
zestssh.exe, so ZestSSH starts on a PC that never had the runtime. - Closes a running ZestSSH before it installs, so no file is in use.
Installing
Section titled “Installing”- Download
ZestSSH-<version>-Setup.exe. - Run it. An install for your account alone needs no administrator rights; the installer can also install for all users.
- Accept the license and follow the wizard.
- ZestSSH is in the Start Menu (and on the Desktop if you picked it).
Uninstalling
Section titled “Uninstalling”- Open Windows Settings > Apps > Installed apps.
- Find ZestSSH and click Uninstall.
- The uninstaller removes the program files, its shortcuts, the
zestssh://registration and its own PATH entry.
The uninstaller does not remove your data. To remove it, use Delete all local data first (Settings > Backups and data > Danger zone): it “Removes every connection, key, password and snippet on this device, and signs you out. Your synced data stays where it is.” Or delete the folders below by hand after you uninstall.
Where ZestSSH keeps its data
Section titled “Where ZestSSH keeps its data”| What | Where |
|---|---|
| The encrypted database (hosts, keys’ public parts, snippets and more) | %LOCALAPPDATA%\com.affluentlabs.zestssh\profiles\<id>\zestssh.db, one folder for each account and one for guest data |
| Secrets (see below), settings, automatic backups and the app’s logs | %APPDATA%\Affluent Labs\ZestSSH |
| Backups you export | Documents\ZestSSH\backups |
| Session logs | Documents\ZestSSH\session-logs\<id> |
The database is kept in %LOCALAPPDATA% so that neither OneDrive nor a roaming profile copies it.
Secure storage on Windows
Section titled “Secure storage on Windows”ZestSSH keeps its secrets in flutter_secure_storage.dat, in %APPDATA%\Affluent Labs\ZestSSH. The file is encrypted with DPAPI (the Windows Data Protection API), which ties it to your Windows account. It holds, among others:
- The key of the encrypted database.
- Your keys’ passwords, private keys, passphrases and certificates.
- The app lock’s state (and the PIN hash, while Encrypt data at rest is off).
- The automatic backups’ password.
- The sync key, sync storage settings, and the hashes of automation API keys (the keys themselves are shown once, when made, and not kept).
Encrypt data at rest and the TPM
Section titled “Encrypt data at rest and the TPM”Turn on Settings > Security and privacy > Data-at-rest protection > Encrypt data at rest (it needs an app PIN). The database key is then wrapped behind your PIN, the secrets above are sealed with AES-256-GCM under a key kept in the database, and no hash of your PIN is kept.
On Windows you can then also turn on Hardware-backed encryption: “Also bind the key to this PC’s TPM, so the encrypted data is useless if copied off this device.” On a PC without a usable TPM it says “Not available on this PC (no usable TPM)”. ZestSSH also suggests BitLocker for full-disk encryption.
The desktop window
Section titled “The desktop window”On Windows, ZestSSH uses the desktop layout:
- Top bar with your sessions’ tabs.
- Side rail: Manage (Hosts, Keys, Port forwarding, Networks), Utilities (Snippets, Alerts, History, Automation, Server monitor) and Settings. With a team on screen, Team and Vaults come first.
- Layouts: 19 arrangements, up to 8 panes at once. See Layouts.
- Command palette:
Ctrl+Shift+K. - Full screen:
F11. Close tab:Ctrl+Shift+W.
There are 26 shortcuts you can change in Settings > Keyboard and mouse. See Keyboard customization.