Deploy Securden Session Manager (SSM) on Linux¶
Overview¶
By default, remote sessions launched from end-user machines are tunneled through the Securden server, which acts as the gateway. For stronger security controls, and for IT assets spread across distributed networks, you can route remote operations through a dedicated Remote Gateway instead.
The Securden Session Manager (SSM) is the gateway component that handles remote connections and session recording. In addition to the Windows SSM (installed using an .msi package), Securden lets you deploy the SSM on a Linux server as a Docker container. The Linux SSM can launch and record RDP and SSH connections, and is delivered as a docker-compose.yml file generated from the Securden web interface. When the container starts, the Linux server automatically registers itself as a Linux SSM in Securden.
The help document consists of the following:
- Prerequisites for deploying the Linux SSM
- Installing Docker Engine and Docker Compose on Ubuntu and RHEL-based systems
- Creating a remote gateway
- Installing and registering the Linux SSM
- Configuring the remote login credentials for the Linux SSM
- Mapping devices and domains to the Linux SSM gateway
- Disabling the Linux SSM service
- Upgrading an existing Linux SSM to the latest version
Prerequisites¶
- Docker Engine and Docker Compose must be installed on the Linux server. If they are not already installed, follow the steps in the Install Docker on the Linux Server section below.
- You need sudo (root) privileges on the Linux server.
- The IP address or DNS name of the Linux server must be reachable from the Securden server.
- The devices and domains that you want to route through the gateway must already be added to Securden.
Note: Ubuntu or RHEL is the recommended operating system for the Linux SSM. The Linux SSM may not be able to connect to certain Windows-native applications. If your users need to launch such applications, use the Windows SSM for those connections.
Install Docker on the Linux Server¶
Skip this section if Docker Engine and the Docker Compose plugin are already installed. Run the commands below for your distribution.
Ubuntu (Docker Engine - CLI)¶
Update and install dependencies
sudo apt update
sudo apt install -y ca-certificates curl gnupg
Add Docker GPG key
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
Add repo
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Install Docker
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io \
docker-buildx-plugin docker-compose-plugin
Start & enable
sudo systemctl start docker
sudo systemctl enable docker
RHEL / CentOS / Rocky Linux / AlmaLinux (Docker Engine - CLI)¶
Install utilities
sudo dnf install -y yum-utils
Add Docker repo
sudo yum-config-manager --add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
Install Docker Engine
sudo dnf install -y docker-ce docker-ce-cli containerd.io \
docker-buildx-plugin docker-compose-plugin
Start & enable
sudo systemctl start docker
sudo systemctl enable docker
Create a Remote Gateway¶
The remote gateway is a virtual entity, similar to a folder, that holds the Securden Session Manager and the Securden Application Server. Skip this section if you want to deploy the Linux SSM under an existing gateway.
-
Navigate to Admin >> Remote Sessions and Recordings >> Remote Gateway.
-
Click Add.
-
Enter a Remote Gateway Name that uniquely identifies the gateway, and optionally a Description.
-
Optionally, select Default Remote Gateway for Work Accounts and/or Default Remote Gateway for Personal Accounts to make this the default gateway for those account types.
-
Click Save.
Install the Linux Securden Session Manager¶
Step 1: Download the Linux SSM Docker Compose file¶
-
Navigate to Admin >> Remote Sessions and Recordings >> Remote Gateway and select the gateway from the list.
-
In the Configure Remote Gateway tab, under Deploy Securden Session Manager, click Linux.
-
In the Linux Securden Session Manager tab, enter the following details:
-
IP Address/DNS - The IP address or DNS name of the Linux server.
- RDP Port - The port used for RDP connections through the Linux SSM (for example, 3390).
-
SSH Port - The port used for SSH connections through the Linux SSM (for example, 2222).
-
Click Download to download the generated Linux SSM Docker Compose (docker-compose.yml) file.
Step 2: Run the Linux SSM container¶
-
Copy the downloaded YAML file to the Linux server where Docker and Docker Compose are installed.
-
On the Linux server, go to the directory that contains the docker-compose.yml file and run the following command with sudo privileges:
sudo docker compose up -d
This command starts the Linux SSM container and automatically registers the Linux server as a Linux SSM in the Securden interface.
Step 3: Confirm the registration¶
Return to Deploy Securden Session Manager for the gateway. The registered Linux SSM is listed with its Computer Name and Agent Status (the installed Linux SSM version). A green check mark next to the computer name indicates that the SSM is connected.
From the Actions column, you can click the settings (gear) icon to reconfigure the Linux SSM or the delete icon to remove it.
Step 4: Configure the remote login credentials¶
Securden uses a remote login account to log in to the Linux SSM before connecting to the target with the target's own credentials. To set or change it:
-
In the Actions column of the Linux SSM, click the settings (gear) icon to open Reconfigure Linux SSM.
-
Review the Machine Name (the host name of the Docker container) and the IP Address/DNS of the Linux server. If the IP address of the Linux server changes, update it here so that the SSM keeps working.
-
Under Remote Login Type, select Standard Account or Ephemeral Account.
-
For a standard account, search for and select the login account under Standard Login Accounts.
-
Click Save.
Map Devices and Domains to the Linux SSM Gateway¶
After the Linux server is registered, associate the devices and domains whose remote connections should be routed through the Linux SSM. These options are available under Associate Devices, Domains with Remote Gateway in the Configure Remote Gateway tab (see Figure 3).
Associate Devices¶
Prerequisite: The devices must already be added to Securden.
-
Navigate to Admin >> Remote Sessions and Recordings >> Remote Gateway and select the gateway.
-
In the right-hand panel, under Configure Remote Gateway, click Associate next to Associate Devices.
-
Search for devices using the IP address/FQDN or Account Type filters, and select the devices you need. To remove a selection, click the x beside it, or click Clear all to remove all selections.
-
Click Save.
Remote connections to the associated devices are now routed through the Linux SSM.
Associate Domains¶
Prerequisite: The domains must already be added to Securden.
-
Navigate to Admin >> Remote Sessions and Recordings >> Remote Gateway and select the gateway.
-
In the right-hand panel, under Configure Remote Gateway, click Associate next to Associate Domains.
-
Search for and select the required domains.
-
Click Save.
Associating a domain routes remote connections to all of its member computers through the gateway.
Note: You can combine device and domain associations. If a domain member has a different gateway configured at the device level, the device-level setting applies to that computer.
Verify the Linux SSM¶
Launch remote sessions using accounts that are mapped to the Linux SSM gateway to confirm that connections are established successfully.
To review the configuration, open the gateway from Admin >> Remote Sessions and Recordings >> Remote Gateway and open the Report section in the right-hand panel. The report lists the associated devices, domains and packages.
Disable the Linux SSM Service¶
To stop a Linux server from acting as an SSM, run the following command in the terminal of the configured Linux SSM server:
sudo docker compose down
This command stops and removes the associated Docker containers, so the server no longer acts as the SSM server.
Important: After you run this command, the current Linux SSM server instance is lost. If you run docker compose up -d again, a new Linux SSM instance is created.
Upgrade the Linux Securden Session Manager¶
Follow the steps below to upgrade an existing Linux SSM to the latest version.
Step 1: Back up the existing configuration¶
Before you start the upgrade, back up the following, if present:
- Custom Playwright scripts - These exist only if a custom application launcher has been configured to launch via the SSM.
Step 2: Download the latest Linux SSM package¶
-
Log in to the Securden web interface.
-
Navigate to Admin >> Remote Sessions and Recordings >> Remote Gateway, select the gateway and open Deploy Securden Session Manager.
-
Locate the Linux SSM machine that you want to upgrade.
-
In the Agent Status column, click Reinstall next to the version number to download the latest Linux SSM package (see Figure 6).
-
On the Linux machine, replace the existing docker-compose.yml file with the latest version downloaded from Securden.
Step 3: Stop the existing Linux SSM¶
Run the following commands on the Linux server:
sudo su
docker compose down
To verify that the existing container has been removed, run:
docker ps
If the container is still running, stop and remove it:
docker stop <container_name>
docker rm <container_name>
Note: Run the docker stop and docker rm commands only if the container is still present after running docker compose down.
Step 4: Deploy the latest Linux SSM¶
Make sure the existing docker-compose.yml file has been replaced with the latest version downloaded from Securden.
Start the new container:
docker compose up -d
This deploys the latest version of the Linux SSM.
Step 5: Restore custom files¶
If you backed up any custom Playwright scripts in Step 1, restore them to their original location.
Step 6: Verify the upgrade¶
Navigate to Admin >> Remote Sessions and Recordings >> Remote Gateway, select the gateway, open Deploy Securden Session Manager and verify that the Agent Status shows the updated Linux SSM version.
Launch remote connections using accounts that are mapped to the upgraded remote gateway to confirm that the Session Manager is working correctly.
Related Topics¶
- Create a Remote Gateway
- Manage Privileged Accounts in Distributed Networks
- Custom Application Launcher






