MorphGate can record what a host's sessions print. Recordings are encrypted with the vault's key, synced with the vault, and played back in the app.
Turn recording on
In a host's editor, tick Record sessions into the vault and save. From then on every terminal session to that host is recorded; file browsers and tunnels aren't. Each reconnect and each split pane is a recording of its own. While it records, the tab has a REC marker and the route bar shows Recording.
MorphGate records the terminal output and size changes, not your keystrokes. Anything the server echoes back, such as the commands you type, is part of the output. A password typed at a hidden prompt is not echoed, so it is not in the recording.
The recording is saved in pieces while the session runs, about every minute while it prints, and sooner when it prints a lot. If you lock the vault or quit MorphGate during a recorded session, what it printed since the last saved piece is lost, and the recording shows recording or cut short instead of its length.
Recording needs edit access to the host's vault. In a team vault you can only view, your sessions to its hosts aren't recorded.
Find and play recordings
Open Session logs in the sidebar's list of pages, below VPNs (it's there while any host has recording turned on), Session logs… in a host's editor, or Recording in the route bar. In the phone layout, it's under More. Each recording shows when it started, how long it ran, how much it printed, the address, and the device that recorded it. The search box matches the host, its address and the device, and when your recordings come from more than one vault, group or host, the Vault, Group and Host menus narrow the list to one.
- Play, or the recording's name, opens a player with play, pause and a position slider. Play at 1×, 2×, 4× or 8×. Pauses longer than 2 seconds are shortened.
- Save .cast saves the recording as an asciinema
.castfile in your Downloads folder. - Delete removes it, here and, with sync, everywhere.
A recording's state is one of Synced, Uploading, On another device (fetched when you play it) or Not uploaded.
Sync and storage
Recordings sync to servers that store files (morphgate.com and the reference server do). Without sync, they stay on this device and show Uploading. A recording the server refused stays on the device that made it; Try again retries every refused upload, attachments included. On morphgate.com, Personal sync keeps the recordings in your own vault on the device that made them; a seat in a team with a plan or trial lets them sync. Each account and team has a storage limit.
In a team's vault
Recordings of a host in a team's shared vault are encrypted with that vault's key. Everyone who can open the vault can play them back.
- On morphgate.com, team recordings are kept on the Enterprise plan (and during a team's trial). On the Business plan, the host editor says so when you turn recording on, and recordings stay on the device that made them. The session logs list shows Upgrade. Once the team is on Enterprise, they upload with the next try.
- Owners and admins can have the server delete the team's recordings after a number of days: Delete the team's session logs after this many days in the team's policies, in the app. 0 keeps them. See Team policies.
- That deletes the recordings from the server only. A device that already has a recording, such as the one that made it or one that played it, can still play it. Other devices say part of the recording is no longer on the sync server instead of playing it. To remove a recording from every device, delete it.
The server never sees what a recording contains. It stores encrypted pieces and knows only their size, that they are session logs, who uploaded them and when.