HeadlinesBriefing favicon HeadlinesBriefing.com

RelayBar: macOS SSH Port Forward Manager

Hacker News •
×

Relay Bar is a new, native macOS menu-bar application designed for managing SSH local port forwards. It operates without external dependencies, directly utilizing macOS's built-in `/usr/bin/ssh` command.

The app allows users to import common SSH commands, such as `ssh -N -L 8080:localhost:3000 user@host`, or add tunnels manually through a simple interface. Each tunnel can be started and stopped with a single click, and there's an option to launch the local URL in the default browser upon starting a tunnel.

Relay Bar includes features like automatic retries for unexpected disconnects, displaying startup failures, and storing tunnel definitions locally. It intentionally manages one local forward per item and preserves safe connection options like `-p`, `-J`, and `-i`. The application is distributed outside the Mac App Store and is not sandboxed, allowing it to read the user's standard `~/.ssh/config` and `known_hosts` files, and use configured identity files or the SSH agent. It requires macOS 13 or newer and the Xcode command-line tools for building.