🐸 Guac Bridge
OpenAI-compatible endpoints and SSH through Guacamole.
Access a remote server’s SSH service or OpenAI-compatible API through its Guacamole web terminal. Guac Bridge exposes the service on a local port for your usual SSH tools or LLM applications.
First-time setup
Install matching versions on the server, using its Guacamole terminal, and on your client computer:
uv tool install guac-bridge
uv tool update-shell
Requires Python 3.11+ and uv. The client starts the server helper automatically.
Open the desired Guacamole terminal in your browser and copy its full URL. Use it as CONNECTION_URL below.
SSH bridge
Connect
On your client:
guac-ssh-client --url "CONNECTION_URL"
Enter your Guacamole username and password when prompted. In another terminal:
ssh -p 2222 SERVER_USERNAME@127.0.0.1
Keep the bridge running while connected. Stop it with Ctrl+C.
Use an SSH config
Add the following to ~/.ssh/config, replacing the URL and both usernames:
Host guac-server
HostName 127.0.0.1
Port 2222
User SERVER_USERNAME
Match originalhost guac-server exec "guac-ssh-client --ensure-running --save-password --url CONNECTION_URL --username GUACAMOLE_USERNAME --port %p"
Match all
Connect with:
ssh guac-server
The hook starts or reuses the background bridge automatically. On first login, it prompts for your Guacamole password in the calling console and saves it after successful authentication. Later connections reuse the saved password.
Use a dedicated local port for each destination. The bridge stays running after SSH exits. Stop it and its active connections with:
guac-ssh-client --stop --port 2222
LLM bridge
Connect
On your client:
guac-llm-client --url "CONNECTION_URL"
Enter your Guacamole username and password when prompted. By default, the bridge forwards the server’s endpoint at http://127.0.0.1:8000.
Keep the bridge running while using the application. Stop it with Ctrl+C.
Other options
Run either client with --help for credential storage, certificates, custom ports, transport tuning and opt-in server updates.
Contribution
Submit issues and pull requests on GitHub.
Run tests from a checkout with Bash and PTY support:
uv run python -m unittest discover -s tests -v
See Testing connections for the test architecture and coverage.
Architecture
Each bridge opens a Guacamole connection and starts its matching helper inside the remote terminal. The SSH bridge forwards TCP connections; the LLM bridge forwards HTTP requests and streamed responses. Neither requires an additional externally accessible server port.
See Connection details for diagrams, authentication and bridge lifetime, and Benchmarking for performance measurements.
Metadata
Release files for guac-bridge 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| guac_bridge-0.9.0.tar.gz | 63.9 kB | With provenance | Details for guac_bridge-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| guac_bridge-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for guac_bridge-0.9.0-py3-none-any.whl |
Total release size: 107.1 kB
Release files / guac_bridge-0.9.0.tar.gz
| Download URL | guac_bridge-0.9.0.tar.gz |
|---|---|
| Size | 63.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc683d69b56868dc50e105969f714d66b7b72f2bf893cfed4fc8b898eff4ed9f
|
|
BLAKE2b-256 checksum How to use checksums |
57d70f32eae5c1b9cb94fa271bdbabf12add6857155b44f31e948f75d3c0fba2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logRelease files / guac_bridge-0.9.0-py3-none-any.whl
| Download URL | guac_bridge-0.9.0-py3-none-any.whl |
|---|---|
| Size | 43.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87b10f3557466194bf7017a30db53e4650b8e341d25642bfb4e294901d5fa740
|
|
BLAKE2b-256 checksum How to use checksums |
b39d8ec84de9963ee77fefd85c0cb3c8b36113e1a2fd52f0f5a0b0c2445f7e1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logSecurity for guac-bridge 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for guac_bridge-0.9.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.