# systemd-stdio-bridge

systemd

systemd-stdio-bridge

1

systemd-stdio-bridge

D-Bus proxy

systemd-stdio-bridge

OPTIONS

# Description

`systemd-stdio-bridge` implements a proxy between STDIN/STDOUT and a D-Bus bus. It expects to receive an open connection via STDIN/STDOUT when started, and will create a new connection to the specified bus. It will then forward messages between the two connections. This program is suitable for socket activation: the first connection may be a pipe or a socket and must be passed as either standard input, or as an open file descriptor according to the protocol described in `sd_listen_fds(3)`. The second connection will be made by default to the local system bus, but this can be influenced by the `--user`, `--system`, `--machine=`, and `--bus-path=` options described below.

`sd-bus(3)` uses `systemd-stdio-bridge` to forward D-Bus connections over `ssh(1)`, or to connect to the bus of a different user, see `sd_bus_set_address(3)`.

# Options

The following options are understood:

`-p PATH`; `--bus-path=PATH`  
Path to the bus address. Default: `unix:path=/run/dbus/system_bus_socket`

`-q`; `--quiet`  
Suppresses error logging on failure.

# Exit status

On success, 0 is returned, a non-zero failure code otherwise.

# See Also

`dbus-daemon(1)`, `dbus-broker(1)`, [D-Bus](https://www.freedesktop.org/wiki/Software/dbus), `systemd(1)`