From f8f1e666a6466e41a853a792668c249f259e07a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 17 Sep 2017 21:05:20 +0200 Subject: [PATCH] man: describe user@host:machine syntax Fixes #6734. --- man/sd_bus_default.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/man/sd_bus_default.xml b/man/sd_bus_default.xml index 6d5a90de72f..d9102a36ce1 100644 --- a/man/sd_bus_default.xml +++ b/man/sd_bus_default.xml @@ -165,13 +165,17 @@ not set, a suitable default for the default system D-Bus instance will be used. - sd_bus_open_system_remote() connects to - the system bus on the specified host using - ssh1. host - consists of an optional user name followed by the - @ symbol, and the hostname. - + sd_bus_open_system_remote() connects to the system bus on + the specified host using + ssh1. + host consists of an optional user name followed by the + @ symbol, and the hostname, optionally followed by a + : and a machine name. If the machine name is given, a connection + is created to the system bus in the specified container on the remote machine, and + otherwise a connection to the system bus on the specified host is created. + + Note that entering a container is a privileged operation, and will likely only + work for the root user on the remote machine. sd_bus_open_system_machine() connects to the system bus in the specified machine, -- 2.47.3