Skip to content

Debugging & Logs

Connection issues are often timing-sensitive: login startup, network changes, VPN readiness, or quick forwards added while a master is still connecting. SSH Tunnel logs each connection step so failures can be reconstructed after the fact.

Use Copy Debug Log from the menu bar to copy recent logs to the clipboard and reveal the persistent log file in Finder.

SinkLocationSurvives relaunch?Best for
Unified loggingConsole.app or log CLIYesLive filtering
Persistent file~/Library/Logs/SSHTunnel/tunnel.logYesLogin and restart issues
In-memory bufferCopy Debug LogNoQuick bug reports

All sinks use the subsystem com.sshtunnel.app, with categories such as lifecycle, ssh, master, forward, network, ports, reconnect, and health.

Terminal window
log stream --predicate 'subsystem == "com.sshtunnel.app"' --level debug
Terminal window
log show --last 1h --predicate 'subsystem == "com.sshtunnel.app"' --info --debug

For configuration problems, use Run Diagnostics in Settings. It validates required fields, runs ssh -G, lists SSH config forwards, checks ControlPath safety, and verifies local port availability. See Settings.