VCL-1127 - Make changes to handle Cygwin's change of sshd service name to cygsshd

Windows.pm:
-modified pre_capture: attempt calling set_service_startup_mode for cygsshd if call for sshd fails
-modified post_load: attempt calling set_service_startup_mode for cygsshd if call for sshd fails
-modified set_password: set @services array to include both sshd and cygsshd, use variable to see if setting one of them was successful, give warning message if neither one worked
-modified reboot: attempt calling set_service_startup_mode for cygsshd if call for sshd fails

8.pm: modified pre_capture: attempt calling set_service_startup_mode for cygsshd if call for sshd fails

cygwin-sshd-config.sh:
-attempt to parse sshd service name from "sc queryex type=service state=all" into a variable ($sshdservice) and default to sshd if cannot
-changed references to "sshd" service name to $sshdservice
-added call to delete registry key based on $sshdservice, left hard coded registry delete for sshd to clean up old data if cygwin gets upgraded on an image
-added $sshdservice to echoed statement "Starting Cygwin SSHD service"

gen-node-key.sh: added code after case block where SSHSTART and SSHSTOP are set that checks for the name of the sshd service and sets SSHSTART and SSHSTOP to have cygsshd if needed

update_cygwin.cmd: added code to set %sshdservice% variable from service name and use it when manging sshd service
5 files changed