1SYSTEMD-STDIO-BRIDGE(1) systemd-stdio-bridge SYSTEMD-STDIO-BRIDGE(1)
2
3
4
6 systemd-stdio-bridge - D-Bus proxy
7
9 systemd-stdio-bridge [OPTIONS...]
10
12 systemd-stdio-bridge implements a proxy between STDIN/STDOUT and a
13 D-Bus bus. It expects to receive an open connection via STDIN/STDOUT
14 when started, and will create a new connection to the specified bus. It
15 will then forward messages between the two connections. This program is
16 suitable for socket activation: the first connection may be a pipe or a
17 socket and must be passed as either standard input, or as an open file
18 descriptor according to the protocol described in sd_listen_fds(3). The
19 second connection will be made by default to the local system bus, but
20 this can be influenced by the --user, --system, --machine=, and
21 --bus-path= options described below.
22
23 sd-bus(3) uses systemd-stdio-bridge to forward D-Bus connections over
24 ssh(1), or to connect to the bus of a different user, see
25 sd_bus_set_address(3).
26
28 The following options are understood:
29
30 --user
31 Talk to the service manager of the calling user, rather than the
32 service manager of the system.
33
34 --system
35 Talk to the service manager of the system. This is the implied
36 default.
37
38 -M, --machine=
39 Execute operation on a local container. Specify a container name to
40 connect to, optionally prefixed by a user name to connect as and a
41 separating "@" character. If the special string ".host" is used in
42 place of the container name, a connection to the local system is
43 made (which is useful to connect to a specific user's user bus:
44 "--user --machine=lennart@.host"). If the "@" syntax is not used,
45 the connection is made as root user. If the "@" syntax is used
46 either the left hand side or the right hand side may be omitted
47 (but not both) in which case the local user name and ".host" are
48 implied.
49
50 -p PATH, --bus-path=PATH
51 Path to the bus address. Default:
52 "unix:path=/run/dbus/system_bus_socket"
53
54 -h, --help
55 Print a short help text and exit.
56
57 --version
58 Print a short version string and exit.
59
61 On success, 0 is returned, a non-zero failure code otherwise.
62
64 dbus-daemon(1), dbus-broker(1), D-Bus[1], systemd(1)
65
67 1. D-Bus
68 https://www.freedesktop.org/wiki/Software/dbus
69
70
71
72systemd 253 SYSTEMD-STDIO-BRIDGE(1)