The rmBug agent is a CLI that gives you instant, identity-based access to any database your team has connected to rmBug — no shared credentials, no VPN.
brew install rmbug/tap/rmbug-agentcurl -fsSL https://rmbug.com/install.sh | shcurl -fsSL https://packages.rmbug.com/apt/gpg.asc | sudo gpg --dearmor -o /usr/share/keyrings/rmbug.gpg
echo "deb [signed-by=/usr/share/keyrings/rmbug.gpg] https://packages.rmbug.com/apt stable main" | sudo tee /etc/apt/sources.list.d/rmbug.list
sudo apt-get update && sudo apt-get install rmbug-agentsudo rpm --import https://packages.rmbug.com/yum/gpg.asc
sudo tee /etc/yum.repos.d/rmbug.repo << 'EOF'
[rmbug]
name=rmBug Agent
baseurl=https://packages.rmbug.com/yum
enabled=1
gpgcheck=1
gpgkey=https://packages.rmbug.com/yum/gpg.asc
EOF
sudo dnf install rmbug-agentwinget install rmBug.AgentDownload rmbug-agent_<version>_windows_amd64.msi from the latest release.
Binaries and packages for all platforms are attached to each GitHub release.
# Log in to your rmBug account
rmbug login
# List databases you have access to
rmbug resources ls
# Connect to a database
rmbug connect my-postgres-dbrmbug connect starts a local proxy and prints the connection string. Paste it into psql, mysql, or any GUI tool — it just works.
When you run rmbug connect:
- The agent starts a local proxy on a random port (e.g.
127.0.0.1:15432) - You get a connection string like
postgres://localhost:15432/mydb - Connect with any native client — psql, Sequel Pro, DataGrip, whatever you use
- The agent authenticates you with the rmBug Gateway on your company's infrastructure
- The gateway connects to the actual database using the stored credentials
Your database credentials never touch your machine. Access is governed by your org's policies and every connection is logged in the audit trail.
rmbug login # authenticate (opens browser)
rmbug logout # revoke the current session
rmbug resources ls # list all databases you can access
rmbug resources ls --org myorg # filter by organization
rmbug connect <resource> # start a local proxy (interactive)
rmbug connect <resource> -d # run proxy in background (detached)
rmbug status # show active proxy connections
rmbug disconnect <resource> # stop a running proxyThe agent stores config in ~/.config/rmbug/ on Linux/macOS and %APPDATA%\rmBug\ on Windows. rmbug login sets everything up automatically.
| Environment variable | Description |
|---|---|
RMBUG_DEBUG |
Enable debug logging |
RMBUG_FORMAT |
Output format (text or json) |
RMBUG_QUIET |
Suppress non-essential output |
RMBUG_NO_COLOR |
Disable colour output |