Find and view recorded sessions
This feature requires HCP Boundary or Boundary Enterprise
You can view a list of all recorded sessions, or if you know the ID of a specific recorded session, you can find any channels associated with that recording.
Note
The asciicast format is well suited for the playback of interactive shell activity.
However, some aspects of the recording cannot be translated into asciicast.
For example, if an SSH session uses the RemoteCommand
option, or is used to exec
a command, the command is not displayed in the asciicast.
The output of the command may be displayed, though.
If you use SSH for something other than an interactive shell, such as for file transfer, X11 forwarding, or port forwarding, Boundary does not attempt to create an asciicast.
In all cases, the SSH session is still recorded in the BSR file and you can view the BSR file in the external storage bucket.
Find all recorded sessions
Complete the following steps to find all recorded sessions using the CLI.
Authenticate to Boundary in the CLI.
Type the following command to view a list of all recorded sessions:
boundary session-recordings list -recursive
Boundary displays a list of all recorded sessions by scope.
Find a specific recorded session by ID
If you have the ID of a recorded session, you can use the following command to list the connections and channels associated with a session recording.
boundary session-recordings read -id <id>
Download recorded session channels
You can download a recording of SSH shell or exec sessions for a channel from a recorded session. The channel ID is required for the download.
If you have the ID of a recorded session, you can use the following command to list the connections and channels associated with a session recording.
boundary session-recordings read -id <id>
Complete the following steps to download a recorded session channel:
Authenticate to Boundary in the CLI.
Type the following command to download a recorded session channel. Substitute the ID of the channel for chr_1234567890:
boundary session-recordings download -id chr_1234567890