image-specs/rpi3-generate-ssh-host-keys.service
Michael Stapelberg 331f68931a Initial commit
2017-10-08 22:48:29 +02: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