Hermes Agent on a VPS: Using the Webapp and Dashboard via SSH Tunnel

How to start the graphical interfaces of Hermes Agent (Webapp and Dashboard) on a VPS and use them securely in your local browser through an SSH tunnel, without reinstalling anything.

If you have installed the Hermes Agent from Nous Research on your VPS and have been working with it through the CLI (hermes), you can also use a graphical interface, without reinstalling Hermes.

Hermes now offers several GUIs:

InterfaceDescription
Hermes WebappFull graphical interface with chat, sessions, files, skills and more
Hermes DashboardWeb interface for configuration, API keys, status and administration, including chat
Hermes DesktopNative application for Windows, macOS and Linux that can also connect to your VPS

If you want a proper chat interface in the browser, the Hermes Webapp is the obvious choice.

Option 1: Hermes Webapp on the VPS

1. Enable the Webapp

Connect to the VPS via SSH and run:

hermes config set webapp.enabled true
hermes gateway restart
hermes webapp

By default, the Webapp listens on http://127.0.0.1:9120. Since Hermes runs on the VPS, this address is only reachable from there.

2. Access through an SSH tunnel

On your local computer (not on the VPS), open a terminal:

ssh -L 9120:127.0.0.1:9120 user@YOUR-VPS-IP

Replace user and YOUR-VPS-IP with your SSH credentials. You can then open the Webapp locally at http://localhost:9120.

Important: The Webapp uses a one-time login link. Simply opening the address is not enough to sign in. Generate the link on the VPS with hermes webapp --no-open and use it within its validity period.

Option 2: Hermes Dashboard

If you first want a simple web interface, the Dashboard is an alternative.

On the VPS:

hermes dashboard --no-open

On your local computer:

ssh -L 9119:127.0.0.1:9119 user@YOUR-VPS-IP

Then open http://localhost:9119 in your browser.

Among other things, the Dashboard offers chat, session management, configuration, skills and API key management.

Recommendation

Try the Dashboard first, then set up the full Webapp. For permanent access through your own domain, you can later configure HTTPS, a reverse proxy and Hermes authentication. The SSH tunnel has the advantage that nothing is exposed to the internet.

Official documentation: Hermes Desktop and Webapp.