diff --git a/sshd.service b/sshd.service index f9a12a8..605eab1 100644 --- a/sshd.service +++ b/sshd.service @@ -8,7 +8,7 @@ Wants=sshd-keygen.target Type=notify EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config EnvironmentFile=-/etc/sysconfig/sshd -ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY +ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY $PERMITROOTLOGIN ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure