OpenSSH Of Windows PCs, mainly aimed at Maths as part of the install looks for existing SSH key files on an existing Maths share. If the files exist then they are copied to the PC, allowing upgrades/reinstall without changing the SSH keys.
<installcmd='%COMSPEC% /c net start "%svc_name%"'/>
<!--<install cmd='%COMSPEC% /c %WPKGSOFTWARE%\wpkg\tools\sleep 5' /> allow the service to start so it can create all of the files before copying them to \win-info -->
<!-- if there are no ssh key files on \win-info then start the sshd service to create the files and copy them to \win-info -->