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

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.1
File Size Uploaded Provenance Actions
guac_bridge-0.10.1.tar.gz 65.7 kB With provenance Details for guac_bridge-0.10.1.tar.gz

Built distribution (wheel)

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

Total release size: 110.0 kB

Release files / guac_bridge-0.10.1.tar.gz

Download URL guac_bridge-0.10.1.tar.gz
Size 65.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e1f4d26dd03a4f1540f8b8c62b7d5129ca250fc70692421bb4eb22d5f8cb774e
BLAKE2b-256 checksum
How to use checksums
841abf30d7e815af28a9e5b866bf77ea3bb52b7112f1d455ece0080c7050634b
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.1-py3-none-any.whl

Download URL guac_bridge-0.10.1-py3-none-any.whl
Size 44.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e12c1762f4a76fcd4a0d147e2eda0e76d32fb87ad01552c63c38561701267c55
BLAKE2b-256 checksum
How to use checksums
e580b08e2de9b2fe0321f7b26c42bf0de1f4a1eaaae0dc554d40483dae7bccce
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.1

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