I downloaded the 3.8.1 installer and it ran successully on a W2K3 and W2Kpro systems. I then ran it on a W2Kas system, but the OpenSSH Server service was not created.
I downloaded the installer souce files and found the specific grammar and values being used to create the service inside the InstallerProcess.nsi file. Look in the section "Install the OpenSSHd Service."
I had to make two changes from the text string as presented inside the .nsi file in order for the command to run successfully from a command line. First, add quotes around the path value. Every other value has quotes except for this one in the .nsi file. Second, omit the very last character (a `).
The command which can be run from the command line is: cygrunsrv --install OpenSSHd --path "/usr/sbin/sshd" --args "-D" --dep "Tcpip" --stderr "/var/log/opensshd.log" --env "CYGWIN=binmode ntsec tty" --disp "OpenSSH Server"
Use cygrunsrv -h to display all available switches and grammar.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the 3.8.1 installer and it ran successully on a W2K3 and W2Kpro systems. I then ran it on a W2Kas system, but the OpenSSH Server service was not created.
I downloaded the installer souce files and found the specific grammar and values being used to create the service inside the InstallerProcess.nsi file. Look in the section "Install the OpenSSHd Service."
I had to make two changes from the text string as presented inside the .nsi file in order for the command to run successfully from a command line. First, add quotes around the path value. Every other value has quotes except for this one in the .nsi file. Second, omit the very last character (a `).
The command which can be run from the command line is: cygrunsrv --install OpenSSHd --path "/usr/sbin/sshd" --args "-D" --dep "Tcpip" --stderr "/var/log/opensshd.log" --env "CYGWIN=binmode ntsec tty" --disp "OpenSSH Server"
Use cygrunsrv -h to display all available switches and grammar.