Sshd cannot be started after Cygwin is installed on Windows.

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.