BastionOS documentation
BastionOS sits between your people and your servers. Every connection is decided by a rule, signed in with a secret the user never sees, recorded and audited. This documentation explains how each part works, from an empty host to the Enterprise functions.
Where to start#
| You want to | Read |
|---|---|
| Understand the vocabulary first | Concepts |
| Install a bastion on a Linux host | Prepare the host, then Install |
| Go from a fresh install to a recorded session | First session |
| Connect to a server, a desktop or a database | Connect |
| Decide who may reach what | Access policies |
| Replay, watch or end a session | Sessions and recordings |
| Stop everything during an incident | Panic mode |
| Upgrade, back up, restore | Operate |
| Compare editions or import a license | Editions, License |
How BastionOS works#
A user signs in to the console, or straight from their own client (ssh, psql, mstsc, kubectl), with their BastionOS identity and a second factor. A gateway receives the connection and asks the control plane whether this user may open this account on this asset, now, from this address. When a rule allows it, the gateway fetches the account's secret from OpenBao, signs in to the target itself and relays the session. Nothing reaches the target until the recording has started.
user ──► gateway (SSH · RDP · databases · Kubernetes) ──► target
│ decision, audit │ secret
▼ ▼
control plane ── PostgreSQL OpenBao
│
recordings (S3 object store), audit chain- The user never sees, types or copies the target's password or key.
- Each decision, sign-in and change goes into a signed audit chain.
- SSH, Telnet, desktop and Kubernetes sessions are recorded and can be replayed. Database statements are recorded, never their results.
Editions in one paragraph#
Community is free, has no limit on assets, and holds the whole bastion on one node with one organization: every protocol except Oracle and SQL Server, recording, audit, second factor for everyone, LDAP and Active Directory, access, command and masking policies, panic mode and backups. Enterprise editions add single sign-on, SCIM, RADIUS, custom roles, Oracle and SQL Server, remote gateways, SIEM export, several organizations, live supervision, high availability and the automation modules. See Editions.
Conventions in these pages#
bastion.example.comstands for the address of your bastion.alice#root@web-01reads as: useraliceopens the accountrooton the assetweb-01.- Commands that start with
sudo bastionosrun on the bastion host, in the installation directory's command (/var/dck/bastionosby default). - Pages marked Basic, Standard or Ultimate describe functions of that Enterprise edition and above.
- The console exists in English and French. Pages in other languages give the English labels of the console.