Skip to content

Session transcripts

A session transcript is a file of what appeared in a session’s terminal. Save what the terminal already holds after the fact, or record from a point onward, and keep the file for an audit, for documentation or to troubleshoot later.

Click the session’s status chip in the session header (the dot with the connection’s state, for example Connected). The session’s menu has:

  • Save transcript so far… writes everything the terminal holds now, scrollback included, whether or not you are recording. Nothing has to be turned on beforehand.
  • Record transcript from now starts a recording. Everything the session shows from this moment is kept in memory until you stop.
  • Stop recording and save… (shown while recording) saves the recording, then stops it. If you cancel the save, the recording goes on (“Save cancelled. Still recording.”), so nothing is lost.

While a recording runs, a red Recording chip sits next to the status chip, and the status bar at the bottom of the window shows Rec. Clicking the Recording chip is the same as Stop recording and save….

Every save asks two things, in this order:

  1. Encrypt or Plain text. Encrypt writes a .zesttx file that only ZestSSH on this device can open. Plain text writes a .txt file any editor can read. The dialog warns that plain text is not encrypted, and that a transcript can contain passwords, keys or other sensitive output.
  2. Where. Your system’s save dialog (Save session transcript) opens in the ZestSSH/transcripts folder in your documents folder, with a name made of the host’s label and the time, for example web-01_2026-10-22T14-05-09.zesttx.

When the file is written, a notice shows the path with Show in folder, and the notification bell keeps it as Transcript saved after the notice is gone. A plain text save says so: “Saved as plain text (not encrypted)”.

If the terminal holds no output yet, Save transcript so far… says “Nothing to save yet: the session has no output.”

Touch and hold the terminal until its sheet opens (with a mouse, a right click opens the same actions as a menu where you clicked, when Right-click paste is off or text is selected). It has:

  • Record session starts a recording. While it runs, a red dot shows in the terminal’s toolbar, and the item reads Stop recording.
  • Stop recording saves the recording, encrypted, to the app’s transcripts folder, then stops it. The notice shows where it went, with Open. If the save fails, the recording goes on.
  • Export transcript: while recording, it saves the recording so far (encrypted, to the transcripts folder) and keeps recording. When nothing is being recorded, it saves what the terminal holds now, scrollback included, as a snapshot: encrypted, to the transcripts folder, where Saved transcripts lists it. The notice shows where it went, with Open. If the terminal holds no output yet, it says “Nothing to save yet: the session has no output.”
  • Share transcript sends the terminal’s text to another app through the share sheet.

A recording keeps going when you leave the terminal screen.

If a session ends while it is being recorded, on a computer or a phone, the app saves the recording, encrypted, to the transcripts folder. The notification bell says which host’s session it was and where the file is, or that it could not be saved.

The app lists the transcripts in its own transcripts folder:

  • On a computer: Settings > Terminal and SSH, in the Session log section, Saved transcripts > Open.
  • On a phone or tablet: More > Settings > Terminal and SSH, then Saved transcripts (under Terminal behavior).

From 4.3 the list is grouped into This week and Earlier. Each row names the host and says when it was recorded, how long and how big, with a tag: Replay for a recording that plays back (see Replay), Text for one to read. A recording that was not finished says so. Find a host at the top narrows the list. A file whose start cannot be read on this device (another device’s encrypted file) is listed by its file name.

Tap a row to replay it, or to read it when it is a Text one. Its menu (Actions for this transcript: a sheet on a phone, a menu on a computer) has Replay, Open as text (with Copy all to copy the whole text), Share and Delete, which asks first. Share sends the text, an encrypted one too, through the share sheet. On a computer, Open a transcript file (the folder button) opens a .zesttx or .txt file saved anywhere else.

On an iPhone or iPad, the Files app also shows the transcripts folder, as ZestSSH/transcripts in ZestSSH’s folder under On My iPhone (or On My iPad).

An encrypted transcript opens only on the device that saved it, and not after that device’s app data was reset. If it cannot be opened, the reader says “This transcript cannot be opened here.”

From 4.3 a recording saved encrypted (.zesttx) keeps the timing of its output, so it can be played back as it happened. Recordings made before 4.3, plain text files and snapshots (Save transcript so far…) have no timing: they open as text.

Open one from Saved transcripts (a row marked Replay). The replay shows:

  • A header with the host, its address, “Recorded” and when, how long and how big. Find in the recording finds text and marks it in the terminal, with the count (“2 of 5”) and previous and next. Copy text copies the whole recording as the terminal showed it, and Save as file saves it as text.
  • The terminal, in your terminal theme and font.
  • Commands, as chapters: each command typed at a prompt is a chapter, in a column on the right; click one to jump there. A command that failed is marked in the list and in red on the timeline: one whose shell reported a non-zero exit (“Ended with exit code 1”), or, where the shell reports none, one whose output has a line that reads like an error (such as Permission denied, command not found or No such file). Previous command and Next command go back and forward a command. A shell that marks its prompts (OSC 133) is read best; otherwise ZestSSH looks for a usual prompt, and where it finds none the column says “No commands found.”
  • Speeds of 0.5x, 1x, 2x and 4x, and Skip pauses (“A long stretch with no output plays in a moment”): with it on, a stretch with no output plays for at most a second. It is off at first, and then the recording plays in real time.

On a phone or a narrow window, the header takes two lines, the chapters open in a sheet from a button, and the speeds sit in the row of the play button. A file that cannot be played on this device says “This recording cannot be played here.”

Every transcript starts with a header and a security warning that it may contain passwords, keys, tokens and other sensitive data:

  • A recording names the connection, the session, the start time and the duration, then holds the output as the session sent it. From 4.3 its header also has the address (user and host, and the port when it is not 22), and an encrypted one keeps its output’s timing after the text, for Replay. The reader and Share show the text without the timing.
  • A snapshot (Save transcript so far…) is marked as a snapshot of the terminal, names the connection and the time it was saved, then holds the text the terminal shows, scrollback included.

A .zesttx file is encrypted with a key that never leaves the device.

  • The key: 256 random bits, made the first time a transcript is saved encrypted, from the system’s secure random source. Two keys are derived from it, one to encrypt and one to check integrity, so neither is used for both.
  • Encryption: a stream cipher built from HMAC-SHA256 in counter mode (it is not AES). Each file gets its own random 16-byte IV, and the keystream is XORed with the text.
  • Integrity: an HMAC-SHA256 tag over the version, the IV and the encrypted text (encrypt-then-MAC). On reading, the tag is checked in constant time before anything is decrypted. A file that was changed or damaged is refused.
  • File layout: [1-byte version] [16-byte IV] [encrypted text] [32-byte HMAC-SHA256 tag]. Files saved by older versions have no version byte and still open.
  • Where the key is kept, by the system’s secure storage:
Device Where the key is kept
Windows A file in the app’s data folder, encrypted with Windows DPAPI for your Windows account
macOS Your login keychain
Linux The Secret Service (for example GNOME Keyring or KWallet), through libsecret
iPhone and iPad The Keychain, readable after the first unlock, on this device only
Android Encrypted shared preferences, protected by the Android Keystore

With Encrypt data at rest on, the key is also sealed (AES-256-GCM) with a key kept in ZestSSH’s encrypted database, so it can be read only once the app is unlocked with your PIN. See Data at rest.

The key is never synced or backed up by ZestSSH. If it is lost (the app’s data is reset, or you move to a new device), the encrypted transcripts it protected cannot be opened.

A plain text file has no protection at all. Treat it like the session itself.

A recording keeps up to 50,000 pieces of output or about 16 million characters, whichever comes first. Past that, the oldest output is dropped to make room. A snapshot holds what the terminal’s scrollback holds (see Scrollback search).

  • A recording holds the output as the host sent it, including the codes for colors and cursor movement, so a recording of a full-screen program can show stray characters when you read it. A snapshot holds the text as the terminal shows it.
  • A recording keeps at most 16 MB and 50,000 pieces of output, the newest. Past that the oldest output goes, and the saved file says at its top how much of its start was left out.
  • While it runs, a recording is also written to the transcripts folder 30 seconds after new output, under its usual name with unfinished_ in front and encrypted as a saved recording is. If the app is closed by force, crashes or the battery runs out, that copy stays and opens from Transcripts like any other. Once the recording is saved and stopped, the copy goes.
  • A save is written whole under its name or not at all: a save stopped in the middle (a full disk) leaves the file that was there before.
  • Transcripts stay on the device. They are not synced.