Skip to content

Connection Monitor

OxideTerm provides three interconnected monitoring panels that give you full visibility into active SSH connections: Connection Pool, Connection Monitor, and System Health.

The Connection Pool panel (sidebar) shows every live SSH connection with quick-glance stats:

● prod-server-1 Active
3 Terminals 1 SFTP 2 Forwards
Created: 2m ago Keep Alive ♾
● bastion.example.com Idle
1 Terminal 0 SFTP 0 Forwards
Disconnect in 13m

Each connection card shows:

  • Connection state — Active, Idle, Reconnecting, Link Down
  • Consumer ref counts — number of active terminals, SFTP sessions, and port forward rules sharing this connection
  • Age — when the connection was established
  • Idle timer — countdown to auto-disconnect (if keep-alive disabled)
  • Keep Alive toggle — pin the connection to never auto-disconnect

Toggle the keep-alive pin per-connection:

  • Enabled (∞) — connection stays alive indefinitely, ignoring the global idle timeout
  • Disabled — uses the global idle timeout setting (5m / 15m / 30m / 1h)

Open the Connection Monitor tab for a richer dashboard view:

MetricDescription
Total connectionsCount of active connections in the pool
By stateActive / Idle / Reconnecting / Link Down breakdown
TerminalsTotal terminal channel refs across all connections
SFTPTotal SFTP session refs
ForwardsTotal port forward rule refs
Summary”Total: N connections • Refs: N” aggregate line

The monitor header shows a live “●LIVE” indicator and auto-refreshes every second.

Each SSH connection in the pool follows a strict state machine:

connecting → active → idle → link_down → reconnecting → active
disconnected
StateMeaning
connectingTCP + SSH handshake in progress
activeAt least one consumer (terminal/SFTP/forward) actively using the connection
idleConnected but no active consumers; idle timer is counting down
link_downConnection lost; reconnect orchestrator triggered
reconnectingGrace period probing or SSH reconnect in progress

When a jump host (bastion) enters link_down, all downstream nodes it proxies are automatically marked link_down — cascade propagation ensures the entire topology stays consistent.

The System Health sidebar entry shows per-connection resource metrics powered by OxideTerm’s built-in profiler:

  • CPU usage of the SSH process
  • Memory consumption
  • Bytes sent / received (I/O throughput)
  • Active channel count
  • Latency (round-trip ping time)

Metrics update live and are color-coded: green (normal) → yellow (elevated) → red (critical).

Configure auto-disconnect behavior in Settings → Connections:

OptionValue
Idle timeout5 min / 15 min / 30 min / 1 hour / Never
Keepalive interval15 seconds (SSH ServerAliveInterval)
Keepalive attempts3 (SSH ServerAliveCountMax)

A connection that exceeds the idle timeout emits a connection_status_changed event, which the frontend uses to update the sidebar and notify other consumers.