Skip to main content

🐸 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.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guac-bridge 0.10.0
File Size Uploaded Provenance Actions
guac_bridge-0.10.0.tar.gz 66.2 kB With provenance Details for guac_bridge-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for guac-bridge 0.10.0
File Interpreter ABI Platform Actions
guac_bridge-0.10.0-py3-none-any.whl Python 3 none any Details for guac_bridge-0.10.0-py3-none-any.whl

Total release size: 111.0 kB

Release files / guac_bridge-0.10.0.tar.gz

Download URL guac_bridge-0.10.0.tar.gz
Size 66.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b6a66b11f282c77779a939d212fb46c694c99cdbb00b21bd270efd3b20392c60
BLAKE2b-256 checksum
How to use checksums
b1a9662ec293f018688180fd6e6b4ebe78789960c83f413609e4df5a7c90b428
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 Nov 1, 2026.

Transparency log

Release files / guac_bridge-0.10.0-py3-none-any.whl

Download URL guac_bridge-0.10.0-py3-none-any.whl
Size 44.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fb8e0c7b2eabaad50a6a47fa8e27cd95fb5fd6ca4cac697ccc1b2fb897ca542
BLAKE2b-256 checksum
How to use checksums
c8b592562fd952416791921c255f50e3cf68a9560f7896f644620ddedc9a297b
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 Nov 1, 2026.

Transparency log

Security for guac-bridge 0.10.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.

Select from 2 files

Attestation for guac_bridge-0.10.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 Nov 1, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page