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

来源:互联网 发布:手机淘宝 怎么买运费险 编辑:程序博客网 时间:2024/05/18 00:33

问题描述:

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选择管理员身份运行

0 0
原创粉丝点击