Sshd cannot be started after Cygwin is installed on Windows.
Sshd cannot be started after Cygwin is installed on Windows.
System log record information:
The description of event ID (0) cannot be found in the resource (sshd. The local computer may not have the necessary registration information or message DLL file to display messages from the remote computer. You may use the/AUXSOURCE = identifier to retrieve the word description. View help and support for more information. The following information is part of the event: sshd: PID 7340: 'sshd' service stopped, exit status: 255.
Reconfigure the sshd service
Solution:
Follow the instructions in the configuration command to execute mkpasswd and mkgroup to regenerate the permission information.
Execute the following commands in sequence
$ Mkpasswd-l>/etc/passwd
$ Mkgroup-l>/etc/group
$ Cygrunsrv-R sshd Delete ssd Service
$ Ssh-host-config-y Reconfiguration
$ Cygrunsrv-S sshd start the service.
The sshd service is successfully started.
This article permanently updates the link address: