On Tue, Feb 14, 2023 at 5:31 PM Thomas Köller wrote:
>
> I cannot start the 'ssh' command from a systemd service. A very simple
> service file demonstrates the problem:
Your test service works fine for me on Gentoo Linux.
I would guess execution is being blocked by something like AppArmor or SEL
I cannot start the 'ssh' command from a systemd service. A very simple
service file demonstrates the problem:
# /run/systemd/system/ssh-test.service
[Unit]
[Service]
Type = oneshot
ExecStart = /usr/bin/ssh -V
[root@raspi-400 ~]# systemctl start ssh-test.service
Job for ssh-test.service fail