Getting Started
Overview
This guide walks through installing the Britive Access Broker on a Linux host and registering target Linux servers as resources in Britive Resource Manager. Once complete, the broker is ready for all Linux use cases covered in this section: JIT SSH key access and remote server access.
The broker runs as a systemd service under a dedicated britivebroker service account. It communicates outbound to Britive over HTTPS — no inbound ports are required.
Before You Begin
- A Britive tenant with administrator access
- A Linux host to run the broker (RHEL/CentOS 8+, Ubuntu 20.04+, or Amazon Linux 2/2023)
- Java 21 (OpenJDK) on the broker host
- A broker pool token from Resource Manager → Broker Pools → New Pool in the Britive console
- Outbound HTTPS (port 443) from the broker host to Britive
Install the Broker
Download the broker package
Obtain the broker download link from your Britive tenant under Admin → Access Broker → Download Agent. Download to the broker host:
curl -O "<broker-download-link>"The package name follows the pattern britive-broker-<version>.rpm (RHEL) or britive-broker-<version>.deb (Debian/Ubuntu).
Install Java 21
sudo dnf install java-21-openjdk-devel -y
java --versionsudo apt-get install -y openjdk-21-jdk
java --versionInstall the broker package
sudo rpm -ivh britive-broker-*.rpmThe installer creates:
- Service user
britivebroker - Install directory
/opt/britive-broker/ - systemd unit
britive-broker
Configure the broker
cd /opt/britive-broker/config/
sudo cp broker-config-template.yml broker-config.yml
sudo vi broker-config.ymlSet your broker pool token:
broker_pool_token: "<your-broker-pool-token>"Fix ownership and start the service
sudo chown -R britivebroker:britivebroker /opt/britive-broker
sudo systemctl enable britive-broker
sudo systemctl start britive-brokerVerify the broker is running
sudo systemctl status britive-brokerExpected output includes Active: active (running).
In the Britive console, go to Resource Manager → Broker Pools and confirm the broker shows Connected.
Register Linux Servers as Resources
Each target Linux server is a resource in Britive Resource Manager. Create a resource type first, then register individual servers.
Create a resource type
Go to Resource Manager → Resource Types → New Resource Type.
| Field | Value |
|---|---|
| Name | LinuxServer |
| Description | Linux SSH server |
Add parameters:
| Parameter | Type | Required |
|---|---|---|
hostname | string | Yes |
port | string | Yes |
ip | ip-cidr | No |
Register a server
Go to Resource Manager → Resources → Add Resource.
| Field | Value |
|---|---|
| Name | prod-web-01 |
| Resource Type | LinuxServer |
| hostname | prod-web-01.internal |
| port | 22 |
Under Broker Pools, associate the pool connected to this server.
Verify
# On the broker host: confirm the service is running
sudo systemctl is-active britive-broker
# Check recent broker logs
sudo journalctl -u britive-broker -n 50 --no-pagerIn the Britive console:
Check broker pool status
Go to Resource Manager → Broker Pools — broker status should be Connected.
Check registered resources
Go to Resource Manager → Resources — registered servers should appear.
Troubleshoot
| Symptom | Cause | Fix |
|---|---|---|
| Service fails to start | Java not installed or wrong version | Run java --version; must be 21+ |
| Broker shows Disconnected | Outbound HTTPS blocked | Open port 443 from broker host to *.britive-app.com |
Permission denied on /opt/britive-broker | Wrong ownership | Run sudo chown -R britivebroker:britivebroker /opt/britive-broker |
| Broker pool token rejected | Stale or wrong token | Regenerate from Resource Manager → Broker Pools |
Next Steps
- SSH Access — JIT SSH key checkout and checkin for local and shared servers
- Remote SSH Access — Broker-mediated SSH key management for remote servers