image-specs/rootfs/etc/systemd/system/rpi-generate-ssh-host-keys.service
2020-08-15 05:06:18 +00:00

11 lines
224 B
Desktop File

[Unit]
Description=generate SSH host keys
ConditionPathExistsGlob=!/etc/ssh/ssh_host_*_key
[Service]
Type=oneshot
ExecStart=/usr/sbin/dpkg-reconfigure -fnoninteractive openssh-server
[Install]
RequiredBy=multi-user.target