13 lines
259 B
SYSTEMD
13 lines
259 B
SYSTEMD
|
[Unit]
|
||
|
Description=OpenSSH server daemon
|
||
|
After=syslog.target network.target auditd.service
|
||
|
|
||
|
[Service]
|
||
|
ExecStartPre=/usr/bin/ssh-keygen -A
|
||
|
ExecStart=/usr/sbin/sshd -D -e
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
KillMode=process
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|