windows平台上配置cygwin错误总结——ERROR: Installing sshd as a service failed!

问题描述:

win7 上ssh-host-config后出现以下错误信息

  1. Query: Do you want to proceed anyway? (yes/no) yes
  2. *** Warning: Expected privileged user 'cyg_server' does not exist.
  3. *** Warning: Defaulting to 'SYSTEM'
  4. /usr/bin/cygrunsrv: Error installing a service: OpenSCManager:  Win32 error 5:
  5. ▒ܾ▒▒▒▒ʡ▒

  6. *** ERROR: Installing sshd as a service failed!

  7. *** Warning: Host configuration exited with 2 errors or warnings!
  8. *** Warning: Make sure that all problems reported are fixed,
  9. *** Warning: then re-run ssh-host-config.

解决方案:
以管理员身份运行cygwin
右击cygwin选择管理员身份运行

你可能感兴趣的:(windows平台上配置cygwin错误总结——ERROR: Installing sshd as a service failed!)