SSH Targets and Port Forwards
Targets represent the machines you want to connect to. While agents are the software running on a machine, a target is the record of that machine's connection details — its address, credentials, and how it fits into your topology.
Targets are the first step in setting up VibeControls. Once you have a target, you can install agents on it, open terminal connections to it, and create port forwards from it.
Target Types
VibeControls supports several target types:
| Type | Description |
|---|---|
| Direct | The local machine running the agent. No additional connection setup needed. |
| SSH | A remote machine accessible over SSH. |
| RDP | A remote Windows machine accessible over RDP. |
| VNC | A remote machine accessible over VNC. |
Most developers will primarily use Direct and SSH targets.
Creating a Target
From the Agents Page
- Navigate to Agents in the sidebar
- Click the Targets tab
- Click New Target
- Choose the target type
- Fill in the connection details (hostname, port, username, key path or password)
- Click Save
Importing SSH Hosts
If you already have an SSH config file on a connected agent, VibeControls can scan it and import your hosts as targets automatically.
- Open the Targets tab under Agents
- Click Import from SSH config
- Select the agent whose SSH config you want to scan
- Review the discovered hosts and select which ones to import
- Click Import Selected
This is the fastest way to get a large number of remote machines into VibeControls at once.
Managing SSH Connections
Once you have an SSH target, you can open a browser-based terminal to it directly from the VibeControls UI — no separate SSH client required.
- Navigate to Agents → Targets
- Find the target you want to connect to
- Click Open Terminal
A terminal tab opens in your browser, connected to the remote machine through your agent's SSH plugin.
SSH Connection Settings
For each SSH target you can configure:
- Host — hostname or IP address
- Port — defaults to 22
- Username — the user to log in as
- Authentication — SSH key (recommended) or password
- Jump host — specify an SSH jump/bastion host if required
- Keep-alive — how often to send keep-alive packets to maintain the connection
To update connection settings, open the target detail page and click Edit.
Installing an Agent on a Remote Target
If a remote machine does not yet have a VibeControls agent, you can install one directly through the UI using an existing SSH connection.
- Open the target detail page
- Click Install Agent
- Follow the prompts — VibeControls will SSH into the machine, download the agent, and register it with your workspace
- Once installed, the new agent will appear in the Agents list
The remote agent auto-registers itself and, if you choose, automatically configures its gateway credentials so it can participate in platform integrations.
Port Forward Management
Port forwards let you expose a port running on a target machine (through a connected agent) so you can reach it from your browser or share it with teammates.
Common uses:
- Access a local web server running on a remote machine
- Expose a database port for local inspection tools
- Share a development preview URL with a colleague
Creating a Port Forward
- Navigate to Agents, open an agent detail page
- Click the Tunnels tab (or go to Tunnels in the sidebar)
- Click New Port Forward
- Fill in:
- Name — a label for this forward
- Target port — the port on the remote machine to expose
- Description (optional)
- Click Create
VibeControls will generate a tunnel URL you can use to reach the exposed port. See Port Forwarding for the full guide on tunnel URLs and sharing.
Viewing Active Port Forwards
All active port forwards are listed under Tunnels in the sidebar. Each entry shows:
- The tunnel name and target port
- The generated URL
- When it was created
- Current status (active, paused, or error)
Deleting a Port Forward
Open the port forward detail page and click Delete. The tunnel URL will stop working immediately.
Target Health and Connectivity
The target detail page shows a connection status indicator. VibeControls regularly tests whether it can reach the target through the associated agent.
Status indicators:
- Connected — the agent can reach this target
- Unreachable — the last connectivity check failed
- Unknown — no check has been run yet (usually just after creation)
If a target shows as unreachable, check:
- The agent assigned to this target is online
- The hostname/IP and port are correct
- Any firewalls between the agent and the target allow the connection
Target Permissions
Access to targets is controlled by your workspace role. See Roles and Permissions for details on who can create, edit, and delete targets.