vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Dusty Mabe 08d842
[Unit]
Dusty Mabe 08d842
Description=Update OpenSSH host key permissions
Dusty Mabe 08d842
Documentation=https://fedoraproject.org/wiki/Changes/SSHKeySignSuidBit
Dusty Mabe 08d842
Before=sshd.service
Dusty Mabe 08d842
After=ssh-keygen.target
Dusty Mabe 08d842
ConditionPathExists=!/var/lib/.ssh-host-keys-migration
Dusty Mabe 08d842
Dusty Mabe 08d842
[Service]
Dusty Mabe 08d842
Type=oneshot
Dusty Mabe 08d842
ExecStart=-/usr/libexec/openssh/ssh-host-keys-migration.sh
Dusty Mabe 08d842
ExecStart=touch /var/lib/.ssh-host-keys-migration
Dusty Mabe 08d842
RemainAfterExit=yes
Dusty Mabe 08d842
Dusty Mabe 08d842
[Install]
Dusty Mabe 08d842
WantedBy=sshd.service