* The services are using ExecPre to start sshd-pre script * The sshd-pre script substitutes token in standard configuration file and writes a new on in /run * The services are using a file in /run as a sshd_config
12 lines
329 B
Desktop File
12 lines
329 B
Desktop File
[Unit]
|
|
Description=OpenSSH per-connection server daemon
|
|
Documentation=man:sshd(8) man:sshd_config(5)
|
|
Wants=sshd-keygen.target
|
|
After=sshd-keygen.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/sshd
|
|
ExecStartPre=/usr/libexec/openssh/sshd-pre
|
|
ExecStart=-/usr/sbin/sshd -i $OPTIONS -f /run/openssh/sshd_config
|
|
StandardInput=socket
|