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 for a D-Bus endpoint. It
13 expects to receive an open connection to a bus when started, and will
14 also connect to a (different) bus as a client. It will then act as a
15 server on the first connection, and forward messages between the two
16 busses. This program is suitable for socket activation: the first
17 connection may be a pipe or a socket and must be passed as either
18 standard input, or as an open file descriptor according to the protocol
19 described in sd_listen_fds(3). The second connection will be made by
20 default to the local system bus, but this can be influenced by the
21 --user, --system, --machine=, and --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 250 SYSTEMD-STDIO-BRIDGE(1)