Session logs
A session log is a plain text file that receives everything a session shows, written as it happens. It is the always-on counterpart of Session transcripts. You start a transcript by hand and the app keeps it in memory until you save it. A session log opens when a session connects, closes when the session ends, and is written in the clear, so any text editor can open it later.
Turn it on
Section titled “Turn it on”Session logging is off until you turn it on.
- On a computer: open Settings > Terminal and SSH. In the Session log section, turn on Log every session to a file.
- On a phone or tablet: open More > Settings > Terminal and SSH. In the Session log section, turn on Log every session to a file.
The switch applies to sessions that connect after you turn it on.
The setting belongs to this device and is never synced: turning logging on here does not turn it on anywhere else.
What is written
Section titled “What is written”- A header:
=== ZestSSH session log ===, then the connection asuser@host:portand the time the session started. - Everything the terminal showed, with the codes for colors, cursor movement and window titles taken out, so the file reads the way the screen did.
- When the session ends, a closing line with the time:
=== Session ended: <date and time> ===. - When the same session reconnects, the log goes on in the same file after a line
=== Reconnected: <date and time> ===. - In the tmux view, every pane writes to the same file. A line such as
--- pane %3 ---marks each switch to another pane’s output.
Output reaches the file at least once a second, so a crash or a dropped connection loses at most about a second of output.
Timestamps
Section titled “Timestamps”Turn on Timestamp each line (in the same section) to start every line with the local time it arrived, as [14:05:09].
Where the files go
Section titled “Where the files go”Each session gets its own file, named after the host’s label and the start time, for example web-01_2026-10-22_14-05-09.log. Characters that are not allowed in file names become _.
- On a computer: the default folder is
ZestSSH/session-logsin your documents folder. The Folder row shows the folder in use, with Change (pick another folder), Open (show it in your file manager) and, once you have picked one, Use default. - On a phone or tablet: logs stay in the app’s own storage. Tap Session logs (Share or delete the log files on this device.) to see the files on this device, newest first, each with Share (send it to another app) and Delete. On an iPhone or iPad, the Files app also shows them, in the
ZestSSH/session-logsfolder of ZestSSH’s folder under On My iPhone (or On My iPad).
Before you turn it on
Section titled “Before you turn it on”- The file is not encrypted. It holds whatever the session printed, and that includes a password or a key if a program showed one. Treat the log folder the way you treat the session itself.
- Recording mode masks the file names in the phone’s Session logs list, because they carry the host’s label. See Recording mode.
- If a write fails (the disk is full, the folder was removed), that session’s log stops and the session’s connection log says so. The session itself goes on.
Team session logs
Section titled “Team session logs”A session to a host in a team vault that logs sessions is also logged for the team, whatever your own setting is. That is a different feature: see Team session logs.
Session logs and transcripts
Section titled “Session logs and transcripts”| Session log | Session transcript | |
|---|---|---|
| Starts | By itself, every session, once turned on | By hand, per session |
| Holds | Everything shown, as plain text | Everything shown, encrypted or as plain text |
| Written | As it happens | When you save or stop |
| Syncs | Never | Never |