Re: [systemd-devel] Why "systemctl -H " instead of "ssh -- systemctl"

2018-01-12 Thread Lennart Poettering
On Fr, 12.01.18 10:16, Francis Moreau (francis.m...@gmail.com) wrote:

> Hello,
> 
> I'm wondering why systemctl has the -H option whereas one can achieve
> the same by calling "ssh  -- systemctl ...".

Not too much. However it has some benefits, for example it will
auto-page as usual and the pager is run locally which the ssh line
above wouldn't do of course...

Also, "-H" allows you to do stuff such as "-H foobar:waldo:quux" which
means we'll talk to host "foobar" and then its container "waldo" and
the container "quux" nested into that...

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Why "systemctl -H " instead of "ssh -- systemctl"

2018-01-12 Thread Francis Moreau
Hello,

I'm wondering why systemctl has the -H option whereas one can achieve
the same by calling "ssh  -- systemctl ...".

Thanks.
-- 
Francis
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel