|
Jan F |
53f618 |
[Unit]
|
|
Tomas Mraz |
17eb10 |
Description=OpenSSH server daemon
|
|
Jakub Jelen |
e581af |
Documentation=man:sshd(8) man:sshd_config(5)
|
|
Jakub Jelen |
5489ac |
After=network.target sshd-keygen.target
|
|
Jakub Jelen |
5489ac |
Wants=sshd-keygen.target
|
|
Timothée Ravier |
e3597c |
# Migration for Fedora 38 change to remove group ownership for standard host keys
|
|
Timothée Ravier |
e3597c |
# See https://fedoraproject.org/wiki/Changes/SSHKeySignSuidBit
|
|
Timothée Ravier |
e3597c |
Wants=ssh-host-keys-migration.service
|
|
Jan F |
53f618 |
|
|
Jan F |
53f618 |
[Service]
|
|
Jakub Jelen |
4e7cde |
Type=notify
|
|
Jakub Jelen |
5410d2 |
EnvironmentFile=-/etc/sysconfig/sshd
|
|
Jakub Jelen |
dfeecf |
ExecStart=/usr/sbin/sshd -D $OPTIONS
|
|
Jakub Jelen |
6a0593 |
ExecReload=/bin/kill -HUP $MAINPID
|
|
Petr Lautrbach |
383e35 |
KillMode=process
|
|
Petr Lautrbach |
0463fb |
Restart=on-failure
|
|
Petr Lautrbach |
0463fb |
RestartSec=42s
|
|
Jan F |
53f618 |
|
|
Jan F |
53f618 |
[Install]
|
|
Jan F |
53f618 |
WantedBy=multi-user.target
|