anaconda/anaconda-40.22.3.13/data/systemd/anaconda-sshd.service
2024-11-14 21:39:56 -08:00

15 lines
541 B
Desktop File

[Unit]
Description=OpenSSH server daemon
Before=anaconda.target
After=syslog.target network.target sshd-keygen.target
Wants=sshd-keygen.target
ConditionKernelCommandLine=|inst.sshd
ConditionKernelCommandLine=!inst.sshd=0
ConditionPathIsDirectory=|/sys/hypervisor/s390
[Service]
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
EnvironmentFile=-/etc/sysconfig/sshd
ExecStartPre=/usr/sbin/handle-sshpw
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY -f /etc/ssh/sshd_config.anaconda
ExecReload=/bin/kill -HUP $MAINPID