Find and view SSH sessions
Boundary converts recorded SSH sessions into an asciicast format so that you can play back interactive SSH sessions. Make sure to refer to the SSH recording format documentation to understand potential limitations to the asciicast format.
You can view a list of all recorded SSH sessions, or if you know the ID of a specific recorded session, you can find any channels associated with that recording.
Find all recorded SSH 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 -recursiveBoundary displays a list of all recorded sessions by scope.
Find a specific recorded SSH 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 SSH session channels
You can download recorded session channels from a session recording. For SSH sessions, downloadable channels can include shell and exec session recordings.
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
More information
Refer to the following topics for more information: