Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What rights a user needs to run cygwin sshd as a service on vista? A ssh-host-config creates user cyg_server with 5 rights:

$ editrights.exe -l -u cyg_server

But the service failed (even after reboot, reinstall and with cygwin terminal in Administrator mode):

$ cygrunsrv.exe -S sshd
Error 1069: The service did not start due to a logon failure
share|improve this question
up vote 1 down vote accepted

You should verify that the cyg_server account has been correctly set in your "/etc/passwd" file. If you want to be sure, just launch the following command:

mkpasswd -l -c >/etc/passwd

You should also verify that your new "sshd" service has been registered and will be started by the account "cyg_server":

  • Go to the Windows services management interface (Execute --> services.msc)
  • Right-click on the sshd service and choose "Properties"
  • Verify that the account which is in charge of running the service is "cyg_server"

Perhaps is the following priviledge also necessary:

editrights -a SeIncreaseQuotaPrivilege -u cyg_server

You can also check in lusrmgr.msc that the account password is set to never expire, and that it hasn't been disabled

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.