免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3913 | 回复: 0
打印 上一主题 下一主题

[文本处理] win7下cygwin配置ssh的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-01-21 14:09 |只看该作者 |倒序浏览
为什么配置不成功呢?

  1. Huangfu@Huangfu-PC ~
  2. $ ssh-host-config

  3. *** Warning: Running this script typically requires administrator privileges!
  4. *** Warning: However, it seems your account does not have these privileges.
  5. *** Warning: Here's the list of groups in your user token:

  6.     None
  7.     Users
  8.     HomeUsers

  9. *** Warning: This usually means you're running this script from a non-admin
  10. *** Warning: desktop session, or in a non-elevated shell under UAC control.

  11. *** Warning: Make sure you have the appropriate privileges right now,
  12. *** Warning: otherwise parts of this script will probably fail!

  13. *** Query: Are you sure you want to continue?  (Say "no" if you're not sure
  14. *** Query: you have the required privileges) (yes/no) yes

  15. *** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
  16. *** Info: Creating default /etc/ssh_config file
  17. *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
  18. *** Info: Creating default /etc/sshd_config file
  19. *** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
  20. *** Info: However, this requires a non-privileged account called 'sshd'.
  21. *** Info: For more info on privilege separation read /usr/share/doc/openssh/READ                                                                                                    ME.privsep.
  22. *** Query: Should privilege separation be used? (yes/no) no
  23. *** Info: Updating /etc/sshd_config file

  24. *** Query: Do you want to install sshd as a service?
  25. *** Query: (Say "no" if it is already installed as a service) (yes/no) yes
  26. *** Query: Enter the value of CYGWIN for the daemon: []
  27. *** Info: On Windows Server 2003, Windows Vista, and above, the
  28. *** Info: SYSTEM account cannot setuid to other users -- a capability
  29. *** Info: sshd requires.  You need to have or to create a privileged
  30. *** Info: account.  This script will help you do so.

  31. *** Info: You appear to be running Windows XP 64bit, Windows 2003 Server,
  32. *** Info: or later.  On these systems, it's not possible to use the LocalSystem
  33. *** Info: account for services that can change the user id without an
  34. *** Info: explicit password (such as passwordless logins [e.g. public key
  35. *** Info: authentication] via sshd).

  36. *** Info: If you want to enable that functionality, it's required to create
  37. *** Info: a new account with special privileges (unless a similar account
  38. *** Info: already exists). This account is then used to run these special
  39. *** Info: servers.

  40. *** Info: Note that creating a new user requires that the current account
  41. *** Info: have Administrator privileges itself.

  42. *** Info: No privileged account could be found.

  43. *** Info: This script plans to use 'cyg_server'.
  44. *** Info: 'cyg_server' will only be used by registered services.
  45. *** Query: Do you want to use a different name? (yes/no) no
  46. *** Query: Create new privileged user account 'cyg_server'? (yes/no) no
  47. *** ERROR: There was a serious problem creating a privileged user.
  48. *** Query: Do you want to proceed anyway? (yes/no) yes
  49. *** Warning: Expected privileged user 'cyg_server' does not exist.
  50. *** Warning: Defaulting to 'SYSTEM'
  51. /usr/bin/cygrunsrv: Error installing a service: OpenSCManager:  Win32 error 5:
  52. ▒ܾ▒▒▒▒ʡ▒

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

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

  57. Huangfu@Huangfu-PC ~
  58. $
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP