SSH failed to start service due to logon failure

Source: Internet
Author: User
Tags ssh

SSH failed to start service due to logon failure

[Analysis and resolution]

$ net start sshd

A system error 1069 occurred.

The service could not be started due to a logon failure.

Analysis: This is due to user password input error, after changing the user sshd may also occur this problem, in the services.msc login tag change user settings can!

If you cannot start the SSHD service after you modify your password, it is recommended that you uninstall the service, delete the cyg_server,sshd user, and reinstall it, and then perform the/bin/sh.sh script, which requires the following commands:

Cygwin under the SSHD service

Open net start sshd (Cygrunsrv–s sshd)

Turn off net stop Sshdy

Install Ssh-host-config

Uninstall SC Delete sshd (cygrunsrv–r sshd)

Update user Information

Mkpasswd–l >/etc/passwd

Mkgroup-l >/etc/group

Chinese garbled processing under Cygwin

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.