1 2 3 4 5 6 7 8 9 10
[Unit] Description=SSH Key Generation [Service] ExecStart=/usr/bin/ssh-keygen -A Type=oneshot RemainAfterExit=yes [Install] WantedBy=multi-user.target