OPNsense Forum

English Forums => Development and Code Review => Topic started by: opnwall on June 15, 2026, 04:43:22 AM

Title: ttyd for OPNsense
Post by: opnwall on June 15, 2026, 04:43:22 AM
When managing OPNsense firewalls, administrators often need to log in via SSH to execute commands, check logs, or perform advanced troubleshooting. While OPNsense offers a comprehensive WebGUI, a browser-integrated terminal is often more convenient for administrators accustomed to the command line. ttyd is a lightweight web terminal project that maps a local terminal to the browser, enabling a true web-based SSH experience. To simplify this process, I developed an OPNsense plugin that allows direct access to the system terminal via the browser after installation.

(https://pfchina.org/wp-content/uploads/2026/06/ttyd-1.png)

Installation method:
pkg add -f os-ttyd.pkg
Uninstallation method:
pkg delete os-ttyd.pkg
GitHub URL:
https://github.com/Opnwall/ttyd-for-OPNsense

Disclaimer:
Unofficial plugin; use at your own risk.
Title: Re: ttyd for OPNsense
Post by: Monviech (Cedrik) on June 15, 2026, 08:11:27 AM
Link removed, please provide github link and not a pkg file.
Title: Re: ttyd for OPNsense
Post by: opnwall on June 15, 2026, 08:46:37 AM
Quote from: Monviech (Cedrik) on June 15, 2026, 08:11:27 AMLink removed, please provide github link and not a pkg file.

GitHub link added.
Title: Re: ttyd for OPNsense
Post by: nero355 on June 15, 2026, 01:10:28 PM
Quote from: Monviech (Cedrik) on June 15, 2026, 08:11:27 AMLink removed, please provide github link and not a pkg file.
It would be cool if this would be a standard feature in OPNsense IMHO :)
Title: Re: ttyd for OPNsense
Post by: Monviech (Cedrik) on June 15, 2026, 02:36:22 PM
Quote from: nero355 on June 15, 2026, 01:10:28 PMIt would be cool if this would be a standard feature in OPNsense IMHO :)

Not going to happen, there's a reason why this doesn't exist in standard installations. Security and privilege concerns.