Quick start
Install RST Bastion on a Linux host from the offline package, read the initial administrator password and sign in for the first time.
A single-host installation needs a Linux host with Docker, the installation package and one run of install.sh. For the full procedure, see Installation.
Prerequisites
- A Linux host, amd64 or arm64, with systemd.
- Docker with the docker compose plugin (
docker compose versionprints a version). - A non-empty
/etc/machine-id. The licence binds to the host through it; if it is missing, runsystemd-machine-id-setup. - The installation package for the host's architecture,
bastion-<version>-linux-<arch>.tar.gz, obtained from Reallysec. - Users' networks can reach port 8088 on the host (web console), and port 8089 if they use the built-in SSH service.
Installation
Unpack the package
The unpacked directory is the installation directory, and all data lives in its data/ folder. Using /opt/bastion as an example:
tar xzf bastion-<version>-linux-amd64.tar.gz
sudo mv bastion-<version>-linux-amd64 /opt/bastionRun install.sh
cd /opt/bastion && sudo ./install.shThe script loads the images, creates .env, generates a self-signed HTTPS certificate, installs the upgrade helper when run as root, then starts the containers and prints the URL. The package carries every image, so installation never contacts an image registry.
Read the initial administrator password
The initial administrator account is admin. Its password is in a file that only root can read:
sudo cat /opt/bastion/data/initial-admin-passwordSign in
Open https://<host IP>:8088 and sign in as admin with that password. The default certificate is self-signed, so the browser warns that it is not trusted; for production, replace it with your own, see Configuration.
On first sign-in you must change the password. Sign in again with the new password; the initial-admin-password file is then deleted automatically.
Next steps
- Add assets under Resources > Assets (资源管理 > 资产管理). See Assets.
- Create accounts for your engineers under Users (用户管理) and authorise assets for them. See Users and Asset authorisation.
- Set the password policy, session watermark and recording retention under System settings (系统设置). See System settings.
- To use access gateways, scheduled script jobs or online file editing, import a licence under System settings > Licence (授权). See Licence.
- Back up the
data/directory and.envregularly. See Upgrade and backup.
data/.encryption-key encrypts asset passwords and other secrets and must be backed up together with the database. If this file is lost, the encrypted data cannot be recovered.
Troubleshooting
The console does not open in the browser
Check the containers with docker compose ps and docker compose logs bastion. Make sure port 8088 is open in the firewall or security group and that you are using https://.
install.sh reports that /etc/machine-id is missing or empty
Run sudo systemd-machine-id-setup, then run install.sh again.
initial-admin-password is missing
The file is written only on first start and deleted after the password is changed. If the changed password is forgotten, see the FAQ.
RST Bastion
An on-premises web bastion host. Engineers reach SSH, RDP, VNC, Telnet and Kubernetes assets from the browser, every session is recorded, and sign-ins, commands, file transfers and administrative changes are logged.
Editions
Compare the free edition, Professional, Enterprise and the 14-day trial by capability, asset count and nodes, and see what happens when a licence expires.