[systemd-devel] systemctl -H/--host does not work on hosts with systemd 213 and newer
Alexander Vladimirov
alexander.idkfa.vladimirov at gmail.com
Mon Jun 23 23:40:47 PDT 2014
Seems like remote command execution was broken somewhere around systemd 213
Remote access to systemd 212 host:
[root at host1 ~]# systemctl --version
systemd 212
+PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
+SECCOMP -APPARMOR
$ systemctl -H idkfa at host1 status
Enter passphrase for key '/home/idkfa/.ssh/id_rsa':
● idkfa at host1
State: degraded
Jobs: 0 queued
Failed: 3 units
Since: Вт 2014-06-10 17:58:32 KRAT; 1 weeks 6 days ago
CGroup: /
Remote access to systemd 214 host (same with systemd 213):
[root at host2 ~]# systemctl --version
systemd 214
+PAM -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
+SECCOMP -APPARMOR
$ systemctl -H idkfa at host2 status
Failed to read server status: Connection timed out
Both hosts have the same authorized ssh key installed and systemd with
default configuration.
Best regards,
Alexander
More information about the systemd-devel
mailing list