LinuxCommandLibrary

systemd-stdio-bridge

Bridge stdio to D-Bus connection

TLDR

Forward to system bus

$ systemd-stdio-bridge
copy
Forward to user bus
$ systemd-stdio-bridge --user
copy
Forward to container bus
$ systemd-stdio-bridge -M [container]
copy
Forward to custom bus address
$ systemd-stdio-bridge -p unix:path=[/path/to/socket]
copy

SYNOPSIS

systemd-stdio-bridge [OPTIONS]

DESCRIPTION

systemd-stdio-bridge implements a proxy between stdin/stdout and a D-Bus connection. It expects an open connection via stdin/stdout and creates a new connection to the specified bus.
This enables remote D-Bus access via SSH or similar transport mechanisms, bridging external connections to the local bus.

PARAMETERS

--user

Connect to user D-Bus session
--system
Connect to system D-Bus (default)
-M, --machine= CONTAINER
Connect to D-Bus in specified container
-p, --bus-path= ADDRESS
Connect to custom D-Bus address

CAVEATS

Expects a properly formatted D-Bus connection on stdin. Used primarily for remote D-Bus access scenarios. Requires appropriate permissions on the target bus.

HISTORY

systemd-stdio-bridge enables remote D-Bus access patterns, supporting tools like `busctl` and `systemctl` when operating on remote systems via SSH.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community