From 8d93bbb7c5fdcf57f8d797032b199ad99e63ec73 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 7 Oct 2022 12:44:04 +0200 Subject: [PATCH] ssh.service: fix ssh-keygen usage Otherwise systemd fails with: | ssh.service: Executable /usr/bin/ssh-keygen -A missing, skipping: No such file or directory Fixup for git rev 6d869c1 --- etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE b/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE index 7b2c141..3a6729e 100644 --- a/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE +++ b/etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE @@ -7,7 +7,7 @@ ConditionPathExists=!/etc/ssh/sshd_not_to_be_run [Service] EnvironmentFile=-/etc/default/ssh -ExecStartPre=-"/usr/bin/ssh-keygen -A" +ExecStartPre=-/usr/bin/ssh-keygen -A ExecStart=/usr/sbin/sshd -D $SSHD_OPTS ExecReload=/usr/sbin/sshd -t ExecReload=/bin/kill -HUP $MAINPID -- 2.1.4