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

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.8.2
File Size Uploaded Provenance Actions
guac_bridge-0.8.2.tar.gz 58.4 kB With provenance Details for guac_bridge-0.8.2.tar.gz

Built distribution (wheel)

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

Total release size: 98.8 kB

Release files / guac_bridge-0.8.2.tar.gz

Download URL guac_bridge-0.8.2.tar.gz
Size 58.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ab727c2c10811d6b0f57dd01306d7ad70fa08c2984711e2dc5429a7ed93f7d98
BLAKE2b-256 checksum
How to use checksums
e2adecb581b9d99a6f4028f12ac5a904a3675633de2dca0221f9733e28318324
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 log

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

Download URL guac_bridge-0.8.2-py3-none-any.whl
Size 40.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e134b969e557d81f3d80601b8aae0b43f7f693b32dc3ec8e4c5a3a5fc9272c4
BLAKE2b-256 checksum
How to use checksums
b4b65b5b1cf001724aee0a33127d679397d8968e1a68fa2c6b7310076b76ad49
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 log

Security for guac-bridge 0.8.2

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